I have a form with some text fields,and I want to place the cursor (auto focus) on first text field of form when page gets loaded.
I want to do it without usi
An expansion for those who did a bit of fiddling around like I did.
The following work (from W3):
It is important to note that this does not work in CSS though. I.e. you can't use:
.first-input { autofocus:"autofocus" }
At least it didn't work for me...