I had posted a similar request a couple of days ago and got it working but I've re-worked my functionality to use checkboxes instead.
1. My checkboxes are visible in the jsfiddle link below for testing only but they will be hidden so they don't really have any functionality than values I will update a form with.
2. Basically if you select heading 1 "Delete" link all sub-set checkboxes should have toggle functionality including the heading checkbox
. I have it working so all sub-set checkboxes are checking but there's some thing I'm not getting with getting them to uncheck when clicking the "Delete" link again. And you can see the main heading checkbox never gets checked or unchecked when clicking the main "Delete" link.
3. I would also like to click the "X" link to individually (toggle) set the related checkbox checked or not checked as well.
Thanks for the help,