Bug Tracker

Opened 13 years ago

Closed 13 years ago

#5576 closed bug (invalid)

Live event listener fails on first event type

Reported by: matas Owned by: brandon
Priority: major Milestone: 1.4
Component: event Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:


The first event type in the multiple event definition like 'onFirst' here:

$(document).live('onFirst onSecond onThird', function(event) {

alert('Live: multi event type worked:' + event.type);


will never be called.

the 'bind' version will work as expected:

$(document).bind('onFirst onSecond onThird', function(event) {

alert('Bind: multi event type worked:' + event.type);


a working example: http://jsbin.com/elenu

reproducable in FF in Safari

Change History (1)

comment:1 Changed 13 years ago by dmethvin

Resolution: invalid
Status: newclosed

You are trying something that is not supported:


"Unlike .bind(), only a single event can be bound in each call to the .live() method."

Note: See TracTickets for help on using tickets.