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

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -