2
I have a DIV and this DIV has some checkbox with ID and I want to know how I get the checkbox id clicked.
<div>
<input type="checkbox" id="0" value="false" name="ckb0">
<label for="0">TESTE</label>
</div>
<div>
<input type="checkbox" id="1" value="false" name="ckb1">
<label for="1">Posso escolher essa</label>
</div>
<div>
<input type="checkbox" id="2" value="false" name="ckb2">
<label for="2">Essa também</label>
</div>
<div>
<input type="checkbox" id="3" value="false" name="ckb3">
<label for="3">E essa</label>
</div>
<div>
<input type="checkbox" id="4" value="false" name="ckb4">
<label for="4">este tambem</label>
</div>
Perfect! Thank you.
– Andersson OS