About the delegation plugin used by the validation plugin: There an
event bubbles from an input (always the event.target, inputs don't
have children) to the form. So there was no need to find the actual
delegate based on the event.target. Works well in this case, but isn't
a general event delegation solution.

Jörn

On Sat, Oct 11, 2008 at 2:31 AM, Matt <[EMAIL PROTECTED]> wrote:
>
> On Oct 10, 3:17 pm, Ariel Flesler <[EMAIL PROTECTED]> wrote:
>> So... it uses is()... I think your plugin is very very similar to
>> Intercept/Delegate, just adding the parent traversal.
>
> And I'm a little uncertain about how it differs from my event
> delegation code at:
> http://groups.google.com/group/jquery-en/browse_frm/thread/c39f52b6c5d1feac
>
> I've also been messing with my version to only .is() if it is a simple
> selector, otherwise matching the selector against the entire document
> and seeing if the element exists in the results. This allows for more
> complex selectors to be used involving descendents, etc.
>
> For things as critical and commonly used as this, I think it would be
> great to have a single "official" plugin maintained by the jQuery team
> that takes all these things into consideration. Rather than everyone
> inventing their own plugin and adding the stuff that they think is
> most important.
>
> Matt Kruse
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to