All, I'm using Wordpress so I know the main content falls within the following div:
<div id="content" role="main">
I'm trying to use the jQuery load function to display only the content in between those tags. How can I say the id of content but the role of main?
I tried to do the following:
page_url = $(this).attr("href");
$("#menu_content").load(page_url + ' #content main');
This doesn't display anything though. Any ideas on how to do this? Thanks!