Bug Tracker

Modify

Ticket #6055 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

Calling trigger('blur') does not work if the handler is bound with the live() method

Reported by: AndyIMT Owned by:
Priority: Milestone: 1.4.2
Component: event Version: 1.4.1
Keywords: blur live Cc:
Blocking: Blocked by:

Description

Calling $("#id").blur() does not work if the handler is attached with the live() method:

$("#id").live("blur", function() {

alert("blur handler");

});

If attached with the blur() method, it works as expected.

Test case attached. Change event works correctly in both scenarios, but blur does not.

Attachments

jquery_live_blur.html Download (824 bytes) - added by AndyIMT 3 years ago.

Change History

Changed 3 years ago by AndyIMT

comment:1 Changed 3 years ago by john

  • Status changed from new to closed
  • Resolution set to fixed

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.