This sets focus on the field which works fine. $("#user").focus();
The problem is object $(#user) disappears when the remember me box is checked. Someone suggested I do a try() catch() statement. I am a little new to that so I was, asking if anyone knows how to do this in jquery. Thanks!