Please use the following code to call ajax:
function updateStatus() {
$.ajax({
url: 'getStatus.php',
success: function(response) {
// update status element
$('#status').html(response);
}
});
}Cheers!
This comment has been removed by a blog administrator.
ReplyDeleteThanks ashwani I always forgot this code. but this time i ll remember that.
ReplyDeletekeep posting!