I want to load the contents of a php file to an already existing div. I tried the following code, but I am getting the error load is not defined in firebug. Can some one help me?
$("#post_button").click(function(){
var result = load("<?php echo SITEURL; ?>/newpost.php", data);
$("#parent-post").append(result, function() {
special_functions();
});