Bug Tracker

Modify

Ticket #3339 (closed bug: invalid)

Opened 6 years ago

Last modified 6 years ago

don't work event

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

Description

This code does't work in IE6

$('form').bind

(

"change", function(event) {

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

}

);

Why?

Change History

comment:1 Changed 6 years ago by flesler

  • Cc gipper, flesler added
  • Resolution set to invalid
  • Status changed from new to closed
  • Component changed from core to event

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).

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.