> does jquery.delegate.js make every event bubble up to the
> watched ancestor?

Nope.

> why would one use something like LiveQuery
> over a solution like delegate?

Event delegation introduces some weak points that one needs to
overcome.
LiveQuery should work reliably without requiring any special measures.

> I ask because I'm developing a rather large web app and am curious
> about (and this thinking may be totally crazy; if so please tell me)
> watching the body tag or an overall wrapping div and catching
> registered events as they bubble up with delegate.  Is this line of
> thinking too out-of-the-ordinary?

You are not crazy and this technique is used/encouraged by other event
delegation plugins already (Listen and Intercept), where the "global"
call, uses the document as listener (implicitly).

Peace

--
Ariel Flesler
http://flesler.blogspot.com


On 17 abr, 14:41, Collin Allen <[EMAIL PROTECTED]> wrote:
> When run, does jquery.delegate.js make every event bubble up to the
> watched ancestor?  If so, why would one use something like LiveQuery
> over a solution like delegate?  So far, I've only tested onclick and
> onchange with delegate, but it's proving to be quite slick.
>
> I ask because I'm developing a rather large web app and am curious
> about (and this thinking may be totally crazy; if so please tell me)
> watching the body tag or an overall wrapping div and catching
> registered events as they bubble up with delegate.  Is this line of
> thinking too out-of-the-ordinary?
>
> Thanks again for all the help, folks!

Reply via email to