Good afternoon guys, once again I need your help for the following problem:
Imagine the following form records below:
<input id="check[1]" name="check[1]" type="checkbox" value="">
<input id="campo1[1]" name="campo1[1]" type="text" value="" disabled>
<select id="campo2[1]" name="campo2[1]" disabled></select>
<input id="check[2]" name="check[2]" type="checkbox" value="">
<input id="campo1[2]" name="campo1[2]" type="text" value="" disabled>
<select id="campo2[2]" name="campo2[2]" disabled></select>
<input id="check[3]" name="check[3]" type="checkbox" value="">
<input id="campo1[3]" name="campo1[3]" type="text" value="" disabled>
<select id="campo2[3]" name="campo2[3]" disabled></select>
<input id="check[4]" name="check[4]" type="checkbox" value="">
<input id="campo1[4]" name="campo1[4]" type="text" value="" disabled>
<select id="campo2[4]" name="campo2[4]" disabled></select>
I would like the fields "field1" and "field2" to be enabled only after marking the corresponding checkbox. Detail, the number of records may be greater than 4.
Can you help me?