Getting the dynamic value of a checkbox in repeating region loop with Jquery
<p>How do I get the values of a check box that is in a repeating region with its values dynamically generated from a recordset from the database.I want to retrieve the value when it is checked and after I click on a link.The problem is that it is retrieving only the first value of the recordset which is 1.This is the code:</p>

<p>jQuery:</p>

<pre><code>$(document).ready(function() {
    $("#clickbtn").click(function() {
        $("input[type=checkbox][checked]").each(function() {
            var value=$("#checkid").attr('value');
            $("#textfield").attr('value',value);                     
        });
        return false;
    });
});
</code></pre>

<p>HTML:</p>

<pre><code>&lt;td width="22"&gt;
    &lt;form id="form1" name="form1" method="post" action=""&gt;
        &lt;input type="checkbox" name="checkid" id="checkid" value="&lt;?php echo $row_people['NameID']; ?&gt;" /&gt;
    &lt;/form&gt;
&lt;/td&gt;
</code></pre>

<p>I would appreciate the help</p>
