how can i check all ul of nested checkboxes
- by Mike
Question:
I have a category listing which some categories have children, I am trying to create a ALL category that when clicked, will check all sibling checkboxes in that same category.
e.g; clicking ALL underneath the MUSIC category would check blues, jazz, rock n roll
Code:
HTML:
<ul name="events-categories" id="events-categories">
…