SyntaxFix
Write A Post
Hire A Developer
Questions
I found the best way to do this, without jQuery.
<input value="" autofocus>
works perfectly.
This is a html5 attribute. Supported by all major browsers. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input