How to pass dynamic id text box value to another page without refreshing with jquery and php
<pre><code>$('.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
    });
});
</code></pre>

<hr>

<p>I have to pass the 3 text box value to another page. First of all, I display the all the record from database. then, I have comment link for each row. I like to give comment and save the comment for eache record. I use by jquery and php. please help me out. I can't finger out how to pass dynamic text box's value by bynamic name.</p>
