I got a jQuery load function that works like this:
function admin_loadPage(page) {
history.pushState(null, null, '?page='+page);
$('#page').html('<center><img src="../includes/images/loader.gif" /></center>');
$('#page').load('content/'+page+'.php');
}
How would i sent data to my content/+page+.php whatever the page i want to load, and how do i recive the data on the page itself?
?name=valueto the url. for POST, you'll have to pass an object as the second parameter.