la idea es saber si el campo esta con check o no, para posteriormente enviarlo como un arreglo
este es el codigo
Cita:
<tr >
<td><span class="Estilo5">1</span></td>
<td><input name="nroId[]" style="text-transform:uppercase" type="text" size="20" maxlength="12" onkeyup="mascara(this,'-',patron,false)" /></td>
<td align="center"><input name="cuadro[]" type="checkbox" value="0" /></td>
<input type="hidden" name="arr[]"</td>
</tr>
<tr >
<td><span class="Estilo5">2</span></td>
<td><input name="nroId[]" style="text-transform:uppercase" type="text" size="20" maxlength="12" onkeyup="mascara(this,'-',patron,false)" /></td>
<td align="center"><input name="cuadro[]" type="checkbox" value="1" />
<input type="hidden" name="arr[]"</td>
</tr>
<tr >
<td><span class="Estilo5">3</span></td>
<td><input name="nroId[]" style="text-transform:uppercase" type="text" size="20" maxlength="12" onkeyup="mascara(this,'-',patron,false)" /></td>
<td align="center"><input name="cuadro[]" type="checkbox" value="2" /> <input type="hidden" name="arr[]"</td>
</tr>
<td><span class="Estilo5">1</span></td>
<td><input name="nroId[]" style="text-transform:uppercase" type="text" size="20" maxlength="12" onkeyup="mascara(this,'-',patron,false)" /></td>
<td align="center"><input name="cuadro[]" type="checkbox" value="0" /></td>
<input type="hidden" name="arr[]"</td>
</tr>
<tr >
<td><span class="Estilo5">2</span></td>
<td><input name="nroId[]" style="text-transform:uppercase" type="text" size="20" maxlength="12" onkeyup="mascara(this,'-',patron,false)" /></td>
<td align="center"><input name="cuadro[]" type="checkbox" value="1" />
<input type="hidden" name="arr[]"</td>
</tr>
<tr >
<td><span class="Estilo5">3</span></td>
<td><input name="nroId[]" style="text-transform:uppercase" type="text" size="20" maxlength="12" onkeyup="mascara(this,'-',patron,false)" /></td>
<td align="center"><input name="cuadro[]" type="checkbox" value="2" /> <input type="hidden" name="arr[]"</td>
</tr>