troubleshooting Question

Checkbox reset when onClick handler is invoked with dispatchEvent

Avatar of Stefan Lennerbrant
Stefan LennerbrantFlag for Sweden asked on
HTMLJavaScriptWeb Browsers
6 Comments1 Solution189 ViewsLast Modified:
Running the following jsfiddle:
  https://jsfiddle.net/xrnz5tjx/

I set a input checkbox to "true" when clicking on a link, and then programatically trigger the onClick handler for the checkbox field.
In Chrome, all is well but in IE11 the checkbox is reset to false when the onClick handler is executed.

Any ideas on why IE does this?
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros