Focusin and Focusout bubble in IE. These events should behave the same way in other browsers.
- if(document.addEventListener){
- document.addEventListener('focus', function(ev){
- jQuery.event.trigger( 'focusin', null, ev.target )
- },true);
- document.addEventListener('blur', function(ev){
- jQuery.event.trigger( 'focusout', null, ev.target )
- },true);
-
- }
I will submit patches for this and anything else I get a thumbs up for.