Skip to main content

Bug Tracker

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.

Attachments (1)
  • jQueryOnChange.zip (24.8 KB) - added by mlangc March 18, 2010 02:45PM UTC.

    Simple testcase

Change History (2)

Changed May 23, 2010 04:07PM UTC by brightertools comment:1

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

Changed October 02, 2010 06:06PM UTC by snover comment:2

priority: → undecided
resolution: → duplicate
status: newclosed

Duplicate of #6593.