D
DMc
When I open up my login page, I would like the cursor to be in the username
box. How would I achieve this?
Tia,
DMc.
box. How would I achieve this?
Tia,
DMc.
DMc said:When I open up my login page, I would like the cursor to be in the
username box. How would I achieve this?
Mark Parnell said:It *can* be done with Javascript, but isn't recommended (for reasons that
others are probably better placed to explain than me ;-) ).
I used "setting form focus" in Google and came up with this:When I open up my login page, I would like the cursor to be in the username
box. How would I achieve this?
Tia,
DMc.
andy said:I used "setting form focus" in Google and came up with this:
DMc said:When I open up my login page, I would like the cursor to be in the
username box. How would I achieve this?
Why search on Google? Why not just look at Google's front page?
One thing to be aware of is that setting focus to a text field breaks the
user's keyboard shortcuts. They can't, for example, press the down button
to scroll down the page.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.