Opened 14 years ago
Closed 14 years ago
#6055 closed bug (fixed)
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: | |
Blocked by: | Blocking: |
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 (1)
Change History (2)
Changed 14 years ago by
Attachment: | jquery_live_blur.html added |
---|
comment:1 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Fixed. http://github.com/jquery/jquery/commit/dd5c26304af1c5f884ebf0baa5df28a2f8a8c4cc