I'll start off saying, i know hardly anything about java script and i have a feeling this requires it. What i would like to do is find out which checkboxes are checked, add those to a list and pass that to the code behind page.
This is how i create the checkboxes from the results i get.
<table width="100%" border="1">
<%foreach (var qv in rs)
{
var checkid = "chk" + qv.id;
var tdid = "td" + qv.id;
var text = qv.text.ToString();
%>
<tr >
<td width="100%">
<input type="checkbox" id="<%=qv.id%>" value="@qv.id" />
</td>
<td width="100%">
<%=qv.text%>
</td>
</tr>
<%
} %>
</table>
Can anyone help me?
Aucun commentaire:
Enregistrer un commentaire