![]() |
VOOZH | about |
The Input Search focus() Method in HTML DOM is used to get focus to the Input search Field when an event occurs.
Syntax:
searchObject.focus();
Parameter: This method does not contain any parameter value.
Return Value: It does not return any value.
Example: The below example illustrates the use of the Input search focus() method in HTML DOM.
Output:
Supported Browser: