하나의 이벤트(event)에 여러 개의 이벤트 핸들러(event handler)함수를 걸었을 때 이후의 이벤트 핸들러가 실행되지 않도록 하기
$(document).click(function(event) { alert(‘a’); event.stopImmediatePropagation(); }); $(document).click(function() { alert(‘b’); }); * 참고 링크 http://stackoverflow.com/questions/652495/jquery-multiple-event-handlers-how-to-cancel