The principle of Reglib is to always work for existing and future elements. Those events rely on a bubbling implementation of focus, something that we already have in trunk and works pretty well.
On Sep 20, 4:20 pm, John Resig <jere...@gmail.com> wrote: > Doesn't that run contrary to the idea behind the live method? In that you > can bind an event to any element that currently exists and will exist? This > is really a non-solution, unfortunately. > > --John > > On Sun, Sep 20, 2009 at 9:43 AM, lrbabe <lrb...@gmail.com> wrote: > > > Hello everybody, > > > I know that before releasing jQuery 1.4 it is expected that all events > > should be compatible with .live() > > I had a look at the patch related to submit, proposed by Justin Meyer: > >http://dev.jquery.com/ticket/5267 > > and I am afraid by the possibility that all of these events could > > require such a complex implementation. > > > I would just like to draw your attention toward the choice made by > > Greg Reimer in Reglib: > >http://code.google.com/p/reglib/source/browse/trunk/reg.js#1115 > > > He actually binds "delegated" event handlers to an individual form > > element when it receives focus, since (according to him) this event is > > guaranteed to happen first. > > It might not be a better solution (I'm not sure there is a perfect > > solution unfortunately) but it might be cleaner. > > > What do you think about it? > > > Regards, > > > Louis-Rémi Babé --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---