How to show the table when using Ajax load post?
-
Hi,
Great plugin,
I want to AJAX load post with table in it, but it doesn’t works, how to achive it? the server code in the functions.php of theme as belows:
function load_post() {
if(@$_REQUEST[‘action’] == ‘load_post’ && @$_REQUEST[‘id’] != ”) {
$id = $_REQUEST[“id”];
query_posts(“p=$id”);
the_post();
the_content();die();
}else{
return;
}
}
add_action(‘init’, ‘load_post’);
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to show the table when using Ajax load post?’ is closed to new replies.