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.
try to add space between url and #main_content