Skip to main content

Bug Tracker

Side navigation

#3339 closed bug (invalid)

Opened September 08, 2008 03:34PM UTC

Closed September 08, 2008 10:03PM UTC

don't work event

Reported by: gipper Owned by:
Priority: major Milestone: 1.3
Component: event Version: 1.2.6
Keywords: Cc: gipper, flesler
Blocked by: Blocking:
Description

This code does't work in IE6

$('form').bind

(

"change",

function(event)

{

$(event.target).addClass('fieldChanged');

}

);

Why?

Attachments (0)
Change History (1)

Changed September 08, 2008 10:03PM UTC by flesler comment:1

cc: → gipper, flesler
component: coreevent
resolution: → invalid
status: newclosed

The 'change' event doesn't bubble on IE, so you can't listen for this event from the form. You need to bind to each element (or use alternate approaches).