經安全檢測,此網站為安全網站,請放心前往原始網址!

javascript - How to focus on a form input text field on page load using jQuery? - Stack Overflow

This is probably very simple, but could somebody tell me how to get the cursor blinking on a text box on page load? ... Set focus on the first text field: $("input:text:visible:first").focus(); This also does the first text field, but you can change the [

stackoverflow.com

網址安全性掃描由 google 提供