Hi Matas, Unlike .bind(), only a single event can be bound in each call to the .live() method. Check out http://docs.jquery.com/Events/live
I you do $(document).live('onFirst', callback).live('onSecond', callback).live('onThird', callback) you should have more luck. Hope this helpe! George On Dec 1, 3:48 pm, "matas.petrikas" <matas.petri...@gmail.com> wrote: > hi all, > > just discovered a weird bug in a current jQuery version (1.3.2). > > If you do this: > > $(document).live('onFirst onSecond onThird', function(event) { > alert('Bind: multi event type worked:' + event.type); > }); > > $('a').live('click', function(event) { > $(this).trigger('onFirst'); > return false; > }); > > the listener will never be called. > if you, on other hand, will do this: > > $('a').live('click', function(event) { > $(this).trigger('onSecond'); > return false; > > }); > > everything will work as expected. it seems the live binder somehow > will ignore the first event type in multiple type listener. > > here's a working example:http://jsbin.com/elenu > > I've filled the bug ticket too:http://dev.jquery.com/ticket/5576 -- You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-...@googlegroups.com. To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en.