Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
たとえば、私はこのイベントを持っています
$('body').on('click','.class', function() { //something });
クリックした .class クラスの要素を取得するにはどうすればよいですか?
これを試して:
$('body').on('click','.class', function() { $(this).<some property here>; });
. _ $(this)_.click
$(this)
.click
デモ