.on() - 지금 또는 나중에 이벤트처리 묶음
.on() Attach an event handler function for one or more events to the selected elements. .on( events [, selector ] [, data ], handler(eventObject) ) example)$("#dataTable tbody tr").on("click", function(event){ alert($(this).text()); }); $("#dataTable tbody").on("click", "tr", function(event){ alert($(this).text()); });
■ 프론트엔드 ■/jQuery
2013. 10. 13. 23:06