javascript - IE8 issue with triggering change event -
i have class default on change event added checkboxes.
the default change event works in of cases in cases remove change event , add custom change event.
however, in ie8, seems if set:
ele.checkbox.checkek = true;
then change event have set on checkbox triggered. in other browsers have call fireevent('change') in order trigger change event.
is possible prevent happening or if there way can determine when there custom change events added?
thanks.
this because of bubbling onpropertychange
, mootools tries normalise , convert change event... see commit 19 days ago: https://github.com/mootools/mootools-core/commit/8c97db6ba4b8a7f3b900f355d972c66b36a636b4 - may have been broken commits daniel buchner , partly myself, reckon.
you should able element.fireevent('change')
call callback anyway
Comments
Post a Comment