[JQuery] 이벤트
이벤트 연결 // 이벤트를 연결합니다. $(document).ready(function() { }); ready() : 이벤트 연결 메서드, ready() 메서드를 사용하면 ready 이벤트가 연결된다. 간단한 방식으로 이벤트를 연결할 때는 아래와 같은 코드를 사용한다. $(selector).method(function (event) { }); 간단한 이벤트 연결 메서드: focus, focusin, focusout, load, scroll, click, mouseenter, mouseleave ... 등 click 이벤트 연결 ✍ 입력 click 💻 출력 hover() 메서드 jquery 라이브러리는 mouseenter 이벤트와 mouseleave 이벤트를 동시에 연결하는 hover()라는 이벤트 연결..