hi guys i need some help since im new with jquery.
Im using jquery to load something in a div. Here is my code
$('.menu_top').click(function(){
var href = $(this).attr('href');
$('#main_section').hide().load(href).slideDown("normal");
//slideDown("normal");
//fadeIn("normal");
//fadeToggle("slow", "swing");
return false;
});
Everything works fine
I also have my php pages divided into pieces like header.php, footer.php etc.
The problem comes when i try to sent a post data to the same page, for example post from home.php to home.php. The headers and footers just dissapear.
I've tried to use stuff like
if(isset and !empty){
//put the headers
}
But that didnt work....
Thanks for the help