Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
fix for any propertychange firing onChange in ie7/8 on checkboxes AND radios #2172
referenced this pull request
Dec 13, 2011
actually. this causes errors.
works for all elements and change is fine. http://jsfiddle.net/5CvBb/23/ - however, it fires a change event on a radio group sharing the same name to all elements that experience
commit / sha:
let me know if i should make a new pull request.
this fixes it so it only fires the change once per radio group:
tests pass, btw - at least on IE9 in IE7 and IE8 doc mode (forced). if you want to try it's here http://fragged.org/dev/mootools-core/Specs/1.4client/Element/Element.Event.change.html
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
This fix prevents change from firing when unchecking a checked checkbox in IE7 and IE8, probably 6 too, but I don't have access to it right now. I will revisit the issue this week.