How to implement a tree with checkboxes? working example
<table> <tbody> <tr> <th class="left-th"><span class="arrow"></span><input class="groupswitchchb" type="checkbox"></th> <th class="right-th"><span class="dashed-span">1.ะขะตะบัั</span></th> </tr> <tr style="display: none;"> <td class="check"><input name="chk[1][1][0]" type="checkbox"></td> <td>1.1. ะะพะดัะตะบัั</td> </tr> <tr style="display: none;"> <td class="check"><input name="chk[1][2][0]" type="checkbox"></td> <td>1.2.ะะพะดัะตะบัั</td> </tr> <tr style="display: none;"> <td class="check"><input name="chk[1][3][0]" type="checkbox"></td> <td>1.3.ะะพะดัะตะบัั</td> </tr> </tbody> <tbody> <tr> <th class="left-th"><span class="arrow"></span><input class="groupswitchchb" type="checkbox"></th> <th class="right-th"><span class="dashed-span">4. ะขะตะบัั</span></th> </tr> <tr style="display: none;"> <td class="check"><input name="chk[4][1][0]" type="checkbox"></td> <td>4.1. ะะพะดัะตะบัั</td> </tr> <tr style="display: none;"> <td class="check"><input name="chk[4][2][0]" type="checkbox"></td> <td>4.2. ะะพะดัะตะบัั</td> </tr> <tr style="display: none;"> <td class="check"><input name="chk[4][3][0]" value="dng" type="checkbox"></td> <td>4.3. ะะพะดัะตะบัั</td> </tr> </tbody> </table>