faqts : Computers : Programming : Languages : JavaScript : Forms

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

31 of 37 people (84%) answered Yes
Recently 7 of 10 people (70%) answered Yes

Entry

How to know which element currently has the focus in IE4+?

Mar 16th, 2003 23:58
Adam Killander, Russ Locke, Kady Ny,


Use document.activeElement in IE4+ to find out which element that has 
focus.
/Adam Killander
Read more:
http://msdn.microsoft.com/library/default.asp?
url=/workshop/author/dhtml/reference/properties/activeelement.asp?
frame=true