document.activeElement in Firefox - Finding The Element That Has Focus

Internet Explorer has a handy 'activeElement' property on the document object which keeps track of the current element that has focus. Firefox 3 is going to support the same property inline with the HTML 5 specification but that's a fair way off so here's a work around: [co... [More]
Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2012