146
rated 0 times
[
153]
[
7]
/ answers: 1 / hits: 18346
/ 13 Years ago, wed, october 12, 2011, 12:00:00
jQuery(#menu li a).click(function(){
var page_url = jQuery(this).attr(href)
jQuery(.wide_main).html(<p>loading...</p>);
jQuery(.wide_main).load( page_url + '#main_content');
});
I have this code but it just loads the entire requested page instead of just the #main_content div.
Thanks.
More From » jquery