Blog We love to talk!

Nov Tue

Cross Browser Autofocus attribute

  •  11-10-2015

Autofocus attribute allows a form field to be immediately focused on page load.

Browser Support

Autofocus attribute is already supported by all major browser so it should be really easy to get it working cross browser.

Code Example

You can use Autofocus attribute like this:

<input type="text" autofocus></input>

More Information

More information can be found here.

No Comments

Leave a Reply

Your email address will not be published.