My question is how can I know which checkboxes have been selected to update the text type input that contains that checkbox?
looks like this:
the table and the checkbox is inside a loop which prints as many tables as the sql query has
this is what I have in code
<%do while not siresic.EOF inc= inc +1 %>
my text type inputs are within this cycle in this way, I put the value of the increment to identify them each
<td style="background-color:#FFFFFF" width="10%"><input onpaste="return false" name="Tipo_acta<%Response.Write (inc)%>" type="text" SIZE="5" height=50 id="Tipo_acta<%Response.Write (inc)%>" value="<%Response.Write siresic.Fields("Tipo_acta").Value%>" style="background-color:#FFFFFF"> </td>
and my checkbox is this way
<td style="background-color:#FFFFFF" width="10%" rowspan="3"><input type="checkbox" name="actualizar" value="act<%Response.Write (inc)%>"> </td>
This is what happened to me to identify each one but now I do not know how the user selected the checkbox to update the inputs. It is worth mentioning that the one and two that you see in my table is also with the increase.
PS: I would greatly appreciate any example, even if it is not with asp, I just want to know how I could do it in this case.