I applied the following code to make table rows check/uncheck a child checkbox when clicked. Now I discovered that when clicking the checkbox itself inside the row it doesen
Besides the given solutions, isn't it better to just set the checkbox to the oposite state? For example:
var _current_state = checkbox.attr("checked"); checkbox.attr("checked") = !_current_state;