Ticket #3996 (closed bug: wontfix)
Live events and triggerHandler()
| Reported by: | JuniorZ | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.3.2 |
| Component: | event | Version: | 1.3.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
It seems triggerHandler() doesn't trigger live events as expected.
A test case is attached, and more info can be found here ( http://groups.google.com/group/jquery-dev/browse_thread/thread/a44a2a9d63a42055?hl=en)
Attachments
Change History
comment:1 Changed 4 years ago by dmethvin
The docs say: "This particular method triggers all bound event handlers on an element (for a specific event type) WITHOUT executing the browser's default actions nor bubbling."
http://docs.jquery.com/Events/triggerHandler#eventdata
Isn't bubbling needed for .live() to work?
I was never quite sure of the design goals or use cases for .triggerHandler() though. The limit of triggering only for the first element in the jQuery object is unusual as well.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

