You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I moved this from inside another issue, as I misread what the original problem was.
here's my scenario.
table contains multiple columns, with a checkbox in the first. checkbox has an onchange event handler associated with each cb.
table is contained in a div with the data-toggle="checkboxes" data-range="true".
using bootstrap, jquery, jquery ui, tablesorter, and checkboxes.
i click on the first box. press the shift key and click on the bottom of the range.
the event handler for the first box fires. the handler for the bottom box of the range fires. all the intermediate boxes are changed, but the handler for them do not fire.
it is repeatable. in firefox, chrome, and IE.
I have tested it without the tablesorter and got rid of as much extra as i can. didn't make any difference
any suggestions?
The text was updated successfully, but these errors were encountered:
The first line changes (+1 and -1 to the range) became necessary because the change event occurred prior to the execution of the checkbox.range function, so the rows that were actually clicked on had the event fired. the rows in between did not. forcing the event to fire appears to have fixed that.
I'd like to thank you for this. it has made my life much easier, as I'm a) not the swiftest javascript coder and b) just now learning jquery (brute force method). Your plugin is a life saver.
rmariuzzo
changed the title
range onchange event not firing for items between start and finish in range.
Trigger 'change' event for all checkboxes in range mode.
Oct 12, 2017
I moved this from inside another issue, as I misread what the original problem was.
here's my scenario.
table contains multiple columns, with a checkbox in the first. checkbox has an onchange event handler associated with each cb.
table is contained in a div with the data-toggle="checkboxes" data-range="true".
using bootstrap, jquery, jquery ui, tablesorter, and checkboxes.
i click on the first box. press the shift key and click on the bottom of the range.
the event handler for the first box fires. the handler for the bottom box of the range fires. all the intermediate boxes are changed, but the handler for them do not fire.
it is repeatable. in firefox, chrome, and IE.
I have tested it without the tablesorter and got rid of as much extra as i can. didn't make any difference
any suggestions?
The text was updated successfully, but these errors were encountered: