document.getElementById('user_login').value = 'username';
By default the focus starts on the username field. I want to have the focus start on the password field...
but this isn't working. It looks like it might be focusing on the password field for a moment and then going back to the username field.
Any idea why this might be happening and how to fix it?
(I don't want to just hide the username field, I need actual admins to be able to login as usual. This special autofilled username only gets role access to one little part of the site. And I don't want to use a password protected page for other reasons.)