Using the jQuery Autofocus plugin for browsers that don't support autofocus.
autofocus
NOTE: Giving autofocus to the password is probably a bad for UX. Don't do it.
Copyright © 2009 Michael Taylor (@miketaylr) and licensed under the MIT license.