Skip to main content

Bug Tracker

Side navigation

#7000 closed bug (duplicate)

Opened September 04, 2010 10:00AM UTC

Closed October 02, 2010 05:47PM UTC

Last modified March 10, 2012 05:05AM UTC

The "live change" event of the "select" element is called twice

Reported by: marat Owned by:
Priority: undecided Milestone: 1.4.3
Component: event Version: 1.4.2
Keywords: live, select, onchange Cc:
Blocked by: Blocking:
Description

If we have some "select" elements which are used the "live" binding model:

$("select").live("change", fn);

and some "select" elements which are used the "inline" binding model:

<select onchange="fn();">...</select>

and if we call the "change" event then this event will be called twice.

If we re-write the existing "inline" binding model to the the following binding model:

$("select").change(fn);

then this case will not reproduced.

Please, see the attached example.

Note: Reproduced only in IE 8 (IE 7 compatibility mode)

Attachments (1)
Change History (1)

Changed October 02, 2010 05:47PM UTC by snover comment:1

priority: → undecided
resolution: → duplicate
status: newclosed

Duplicate of #6593.