Input Submit focus() Method
Give focus to a submit button:
Try it yourself »
Definition and Usage
The focus() method is used to give focus to a submit button.
Tip: Use the blur() method to remove focus from a submit button.
The focus() method is supported in all major browsers.
|Return Value:||No return value|
Input Submit Object
Thank You For Helping Us!
Your message has been sent to W3Schools.