Test Url : http://www.uhoon.co.kr/test/800.html
API 링크 : api jquery .on
delegate , live , bind => on 으로 가는 추세라고합니다..
.on( events [, selector ] [, data ], handler(eventObject) )
function myHandler(event) { alert(event.data.foo); } $(function() { $("p").on("click", {foo: "bar"}, myHandler) }); <p>TEST</p>
.on( events [, selector ] [, data ] )
$(function() { $("p").on("click", function(){ alert( $(this).text() ); }); }); <p>TEST</p>