/ Published in: jQuery

Set focus to the first text input element on a html document.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$('input[type=text]:eq(0)').focus();
Comments
