Basically, I want to do the same thing as Google does. I want to place the user’s cursor into the search box as soon as he/she enters the site.
Any suggestions to accomplish this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I would use jQuery, and use somehting like this:
It is also possible doing it in pure HTML 5 using the autofocus attribute, like that: