document Properties Object Properties Summary
Retrieves the object that currently has the keyboard focus.
HTML |
N/A |
Script |
[ oActive = ] document.activeElement |
oActive |
Object that represents the currently selected object on the page. |
The property is read-only with no default value.
The property returns the currently active object on the page with respect to keyboard navigation and keyboard input. Its value is set when you select a control on the page or use the focus method.
document