|
|
|
|
|
focus
focus sets focus on the current document.
Syntax
document.focus()Parameters
Example
Notes
Though more commonly used to set focus on a particular element within a document, such as input or textarea elements, the focus() method is also available to the document object itself.
Specification
html
| mozilla.org | mailto:oeschger | bug 93108 |
|
|
|
|
|