[jQuery] Re: Questions about $.live, Live Query and performance

2009-04-20 Thread Geoffrey
Just bumping this from the weekend Again, Thanks On Apr 19, 9:16 am, Geoffrey geoffreykjqu...@gmail.com wrote: $.live and Live Query are both wonderful. I am hoping to put them to extensive use in my projects. I have a few questions about $.live and Live Query and their effect on

[jQuery] Re: Questions about $.live, Live Query and performance

2009-04-20 Thread Brandon Aaron
LiveQuery when used for events does not use event delegation. It binds the event directly to the matched elements. The reason the latest version of LiveQuery depends on 1.3.x is to take advantage of some internal changes to jQuery, not because it uses live. The live method in jQuery uses event

[jQuery] Re: Questions about $.live, Live Query and performance

2009-04-19 Thread Josh Powell
Geoff - Selectors do make some difference, they always do, but the way I've heard that .live() works is to add an event handler on the document root and when events bubble up to it, doing some javascript mojo to detect what element that event happened on and seeing if it matches the selector.