> i dont see how it can work like livequery I ment how you use it, not how it functions internaly. Both of them receive 2 params, eventType and callbackFunction. I just wanted to point out that anyone familiar with $(sel).livequery(type,fn) shoud be confortable with $(sel).live(type,fn).
Sorry for the confusion. -- Iraê On Tue, Jan 13, 2009 at 1:03 AM, Leeoniya <[email protected]> wrote: > > i dont see how it can work like livequery, since all livequery seems > to do is bind on a timer. delegation requires binding to a parent > container and filtering out events/element targets. > > something like Ariel's $.listen was $("#container").listen("click", > "p, span", function(e){alert("callback")}); > > the only way to delegate without specifying a container would probably > be to implicitly bind any event handlers to <html> or <body>, is that > what happens in $.live? > > Leon > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---
