In my html code, i have 2 checkboxes arrays, like the following ones:
<?php for($i=0;> i<array.length;i++){?>
<input type="checkbox" name="taski[]">
<input type="checkbox" name="tooli[]" disabled>
<?php }?>
What i want to do with JS/Jquery if a checkbox in taski is selected, the checkbox with the same index in tooli becomes enabled.
Thanks guys
Aucun commentaire:
Enregistrer un commentaire