Hi John,

Thanks very much for your reply and confirmation of what I though was
happening. The closest I could find was the proxy wrapper for the
function in the cache - but of course there is no way to get the
wrapped function, just the wrapper.

Regards,
Allan


On Aug 7, 4:34 pm, John Resig <jere...@gmail.com> wrote:
> Unfortunately the original function is kind of tucked away, since $().live()
> is really just a shortcut for $(document).bind("foo", fn); (well, sort of,
> since there's some additional overhead where the selectors are run).
>
> --John
>
>
>
> On Fri, Aug 7, 2009 at 3:20 AM, theallan <allan.jard...@gmail.com> wrote:
>
> > Hello all,
>
> > I'm wondering if it is possible to obtain the original function that
> > someone has added to a document using $.live()? When you use a
> > 'regular' event binding, jQuery stores the original function in (for
> > example) jQuery.cache[3].events.click[6] (=function). However, with
> > the live() events, the function stored here is simply a
> > liveEventHandler() wrapper. So does jQuery store the original function
> > somewhere, or is it just referenced in that handler function and there
> > is no access to it?
>
> > Many thanks,
> > Allan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@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
-~----------~----~----~----~------~----~------~--~---

Reply via email to