Side navigation
#6310 closed bug (duplicate)
Opened March 18, 2010 02:42PM UTC
Closed October 02, 2010 06:06PM UTC
Last modified March 09, 2012 02:04PM UTC
onchange function might be executed twice in IE8
Reported by: | mlangc | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.4.2 |
Component: | event | Version: | 1.4.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Registering two change event handlers on the same element, one with jQuery.change() and another with element.onchange leads to the event handler that has been assigned to onchange to be executed twice. A simple example that illustrates this is attached.
I get a similar problem when hard-wiring an onchange event on a select list and binding a 'change' event. the hard-wired event gets called twice in IE.
more info here: http://stackoverflow.com/questions/2888800/html-select-list-why-would-onchange-be-called-twice