document.activeElement returns body in onblur handler

Between leaving the old element and entering the new element the active element is indeed the document/body itself.

Demo: http://jsfiddle.net/u3uNP/

Leave a Comment