Help with IF has focus then… statment

Your jQuery is not correct (syntax and logic), this isn’t really a WordPress question. To toggle focus effects you can do something like this, https://stackoverflow.com/questions/5608181/jquery-toggle-focus