How can you travel between child of a particular element to the child of his sibling element it is necessary to go back to the father, namely to reach nephew But how?
The constraint is to start with one of the children(to see if he checked), I try to build a game that has to check whether all the input element pressed in a certain line.
lets say i have that structure and i want to find out if all input are clicked :
<table>
<tr class="cell1">
<td class="cell" >
<input id="c1" type="checkbox" name="c1" value="">
<label class="cell" for="c1"></label>
</td>
<td class="cell">
<input id="c2" type="checkbox" name="c1" value="">
<label class="cell" for="c2"></label>
</td>
<td class="cell">
<input id="c3" type="checkbox" name="c1" value="">
<label class="cell" for="c3"></label>
</td>
</tr>
</table>