Hi all,

I needed to use event delegation for submit/reset events, so I took
the solution from 
http://www.danwebb.net/2008/2/8/event-delegation-made-easy-in-jquery
(see Yehuda Katz's comment) and enhanced it with workarounds for IE
where these events do not bubble up. Also in Safari 2 submit doesn't
seem to bubble either. Plus there were some quirks when confirm() was
involved.

Get it here:
http://stilbuero.de/jquery/delegate/

I needed to do that quickly, thus the code could use some optimization
(later).

I just noticed that Jörn also wrote a delegate plugin which fixes
focus and blur events and we're going to merge the two.


--Klaus

Reply via email to