How about $("#something").delegate(".thing","click", func).

It almost makes too much sense :).

On Nov 5, 6:31 pm, Robert Katić <robert.ka...@gmail.com> wrote:
> I wonder why there would be an $.live with document as the only
> interesting context.
>
> Something like
>
>   $(document).zombi(selector, type, ...)
>
> would be more flexible (I know, "zombi" is not nice, but I have no
> inspirations about a more suitable name).
>
> To avoid to repeat selector on multiple bindings, I suggest something
> like:
>
>   $(document).make(selector)
>     .zombi(type, ...)
>     .zombi(type, ...)
>
> An possible implementation of that:http://gist.github.com/227508
>
> Maybe this is only a silly idea for majority of users (now), but I am
> really of idea that this have even more sense then the current
> $.fn.live.
>
> On Nov 5, 2:44 am, xwisdom <xwis...@gmail.com> wrote:
>
>
>
> > Hello,
>
> > Just wondering if version 1.4 will include improvements to live()
> > events.
>
> > See example 
> > here:http://www.zachleat.com/web/2009/05/08/performance-caveat-with-jquery...

--

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.


Reply via email to