【JS】jQueryのeventについて
by tea4two
HTML
<div id="container">
<a href="#" id="btn">クリックしてイベントゲット!</a>
</div>
JavaScript
$('#container').click(function (e) {
console.log(e);
console.log(e.currentTarget, e.target, e.type);
e.preventDefault();
});