]> source.dussan.org Git - jquery.git/commit
Stop trying to emulate the focus/blur event in IE, doesn't work as one might expect...
authorJörn Zaefferer <joern.zaefferer@googlemail.com>
Mon, 21 Dec 2009 21:10:21 +0000 (16:10 -0500)
committerjeresig <jeresig@gmail.com>
Mon, 21 Dec 2009 21:10:21 +0000 (16:10 -0500)
commit03481a52c72e417b01cfeb499f26738cf5ed5839
tree549d8172bec91d9e3b8aacde3e929fdede9a5fd2
parent5dc6b7ce3469eaadb37a151d449e8d36571d1894
Stop trying to emulate the focus/blur event in IE, doesn't work as one might expect, anyway. Instead, implement the focusin/focusout events in all other browsers - which creates a much better parity across all browsers. Uses event capturing instead of bubbling to make it happen. Thanks to Alexander for the recommendation and to Joern Zaefferer for the original focus/blur delegation code.
src/event.js
src/support.js
test/delegatetest.html