php - How to pass parameter in ajax -
php - How to pass parameter in ajax -
i have ajax script working fine. 1 time success, want pass parameter header("location: tar.php?php=$value");
till know $("body").load("rumour.php"); help me pass parameter have in php
$.ajax ({ type: "post", url: "update_comment.php", data: { id1: id, comment1: comment }, success: function(data) { $("body").load("rumour.php"); } );
try this:
$("body").html(data);
php ajax
Comments
Post a Comment