Javascript Reference
Categories: BUTTON

javascript BUTTON focus( )

@March 15, 2008, 1:22 a.m.
\n \n ]\n \n ]
focus( )Firefox/Netscape/NN n/a IE 4 Chrome/Safari/DOM n/a
 

Gives focus to the current element and fires the onFocus event (in IE). If another element property objects had focus at the time, it receives an onBlur event.

 
Returned Value
None.
 
Parameters
None.

Powered by Linode.