jasongr
08-20-2005, 04:41 PM
Hi
I am interested in finding out what element in the page has the focus. Is there a quick way to find out which element in the page current contains the focus?
I am looking for a solution that will work on both IE, Firefox and Opera.
If there is no element in focus (can such scenario happen?), then the code should return the document object in the DOM
regards
I am interested in finding out what element in the page has the focus. Is there a quick way to find out which element in the page current contains the focus?
I am looking for a solution that will work on both IE, Firefox and Opera.
If there is no element in focus (can such scenario happen?), then the code should return the document object in the DOM
regards