I'm creating the checkboxes and corresponding ids for them dynamically as shown, according to the values in which I'm getting from back end.
Once it has been created, how could I retrieve the values of this checked checkboxes?
HTML:
<tr>
<td class="valueleft">All</td>
<td class="valueleft"><input type='checkbox' id="cb1"/></td>
</tr>
<tr>
<td class="valueleft">--------</td>
<td class="valueleft">----checkbox-------</td>
</tr>
jQuery:
$("#myTable").last().append("<tr><td>"+name+"</td><td><input type='checkbox'id="+id+"/></td></tr>");