Hi!
I am trying to store multiple text values into an array when a check box is checked.
for example when row1 checkbox is checked the values row1col1 and row1col2 are stored in an array. note however row1col1 and row1col2 are editable and not readonly.
for example:
<table border="1"> <form id="form1" name="form1" method="post" action="">
<tr>
<td>row1 <input type="checkbox" name="row1" id="row1" /> (when checked the text fields are editable) </td>
<td> <input name="col1" type="text" id="col1" value="row1col1" /></td>
<td> <input name="col2" type="text" id="col2" value="row1col2" /></td> </tr>
<tr> <td>row2 <input type="checkbox" name="row2" id="row2" />(when checked the text fields are editable) </td>
<td> <input name="r2c1" type="text" id="r2c1" value="row2col1" /></td>
<td> <input name="r2c2" type="text" id="r2c2" value="row2col2" /></td> </tr>
</form>
</table>
can anyone help?