회원 가입을 진행할 때 아이디, 비밀번호를 입력하고 유효성 검사가 바로 진행되는 경우가 있다. 이때 사용되는 focus, blur에 대해서 알아보자. 1. focus 사용자가 클릭하거나 tab 키를 눌러 어떠한 요소가 포커스 되었을 때 발생한다. 해당 요소를 전달한다. focus() 메서드 사용 시 해당 요소에 포커스를 줄 수 있다. https://api.jquery.com/focus/ focus event | jQuery API Documentation Description: Bind an event handler to the "focus" event. This page describes the focus event. For the deprecated .focus() method, see .focus(..