I forgot to add a link to the related blog post: http://blogs.sun.com/greimer/entry/event_delegation_for_submit_change
On Sep 20, 3:43 pm, 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 -~----------~----~----~----~------~----~------~--~---