Skip to main content

Bug Tracker

Side navigation

#3996 closed bug (wontfix)

Opened January 26, 2009 03:42PM UTC

Closed February 10, 2009 12:52AM UTC

Live events and triggerHandler()

Reported by: JuniorZ Owned by:
Priority: major Milestone: 1.3.2
Component: event Version: 1.3.1
Keywords: Cc:
Blocked by: Blocking:
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 (1)
Change History (2)

Changed January 26, 2009 05:32PM UTC by dmethvin comment:1

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.

Changed February 10, 2009 12:52AM UTC by john comment:2

component: unfilledevent
resolution: → wontfix
status: newclosed

Yeah, Dave makes a good point - I'm going to mark this up as being by design.