IE Not Picking up Blur Event (jQuery)

Posted by Jascha on Stack Overflow See other posts from Stack Overflow or by Jascha
Published on 2010-03-18T00:44:31Z Indexed on 2010/03/18 0:51 UTC
Read the original article Hit count: 277

I did a quick search, but couldn't find a specific solution to this (I'm sure it HAS been answered) but, I need to figure this out...

Anyone know why this won't work in IE?

$(document).ready(function() {
    $(document).blur(function() {
        window.close();
    });
});

And what to do instead? Thanks.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about JavaScript