On 27 May 2010, at 09:34, T.J. Crowder wrote:

As you know, `focus` and `blur` don't bubble. What you're doing works
because apparently they *do* go through the "capture" phase on
browsers that support the capture phase (I didn't know that, but a
quick test verified it -- thanks!), and on IE (which doesn't) there's
the `focusin` event that *does* bubble. So using the two together,
it's possible to simulate `focus` bubbling even though it doesn't, and
make that available through the delegation mechanism.

I'm sure I saw a discussion somewhere just recently about adding
support for `focus` delegation (because I remember someone saying
jQuery does), but I can't immediately find where it was.

NWEvents has done so for a long time, if JQuery does it, they probably were inspired by it. But As T.J. pointed out, a feature request is the way to go.

Best regards

Peter De Berdt

You received this message because you are subscribed to the Google Groups "Prototype 
& script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to