Hi I was wondering if there is an event for checkboxes that can be triggered by other code rather than by a user...
e.g.
For the "Choose All" checkbox, it should automatically also toggle the "selected" class to toggle the row's background colour.
I've tried "change" and "click" and that only is triggered by the user.
I commented out some code... BTW I want to have a lot of checkboxes that toggle certain classes of checkboxes so I want to avoid having lots of ".closest('tr').addClass('selected');" etc.