looka
05-28-2005, 03:09 PM
how can i check which element has focus? or, can i check if a specified element has focus:)
(element is a named input element in a named form)
(element is a named input element in a named form)
|
||||
focus checkinglooka 05-28-2005, 03:09 PM how can i check which element has focus? or, can i check if a specified element has focus:) (element is a named input element in a named form) vwphillips 05-28-2005, 03:46 PM var last; function lastfocus(obj){ last=obj; } then onfocus="lastfocus(this);" in the required elements or use the DOM to attach the event looka 05-28-2005, 04:18 PM thank you, but in some cases (i.e. on printing page) i would like to check focus, not the value of called function. (IE is one irreliable browser:/ ) what is DOM? CrAzY_J 05-28-2005, 07:10 PM DOM Intro (http://brainjar.com/dhtml/intro/) |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum