Opened 10 years ago
Closed 10 years ago
#12623 closed bug (notabug)
IE8 manual triggering of events on change
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.8.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Trying to activate a checkbox by another element causes inverted behavior in IE8 if I want to do some actions inside onchange method.
i.e. trigger checkbox by clicking on a link and changing link color depending on :checked attribute of the checkbox.
Note: See
TracTickets for help on using
tickets.
Event order isn't exactly the same in oldIE and there isn't a lot we can do about it. If you change that to valid semantic markup and use a label, it works fine in addition to improving accessibility and using less code.
http://jsfiddle.net/5yA79/24/