How to pass dynamic id text box value to another page without refreshing with jquery and php
Posted
by
linlin
on Stack Overflow
See other posts from Stack Overflow
or by linlin
Published on 2011-03-16T00:07:35Z
Indexed on
2011/03/16
0:10 UTC
Read the original article
Hit count: 110
$('.btncomment').click(function() { var id = $(this).attr('id'); $.post('SaveTopicInformation.php',{tid:commentform.(topic_+id).value, topicdetail:commentform.(topicdetail_+id).value,userid:commentform.(user_+id).value}); });
$userid=$rows['UserID']; $topicid=$rows['TopicID']; ?>
"> " class="commentAlink">Comment "> " value=""/> " value=""/> " cols="50" rows="5">">Cancel " value="Comment" />
?>
© Stack Overflow or respective owner