/ Published in: JavaScript
![](/img/icon_sav.png?v3)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// focus on the first text input field on the page $("input[type='text']:first", document.forms[0]).focus();
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)
// focus on the first text input field on the page $("input[type='text']:first", document.forms[0]).focus();