HTML DOM Input Text focus () method
Definition and Usage
focus () method for the text field gets focus.
Tip: Use the blur () method to let the text field loses focus.
Browser Support
All major browsers support the focus () method.
grammar
textObject .focus ()
parameter
None. |
Technical details
return value: | No return value |
---|
Input Text Object