Recently i had made a login form and i would like to know that if any user doesn't enter their user name or password, then the cursor should be directly set to the empty field. Can any body tell me that how to set focus using javascript? Has anyone done this before? Let me know your views on the above issue.
Bookmarks