what happened?
$('body').on('click',"div",function(){console.log($(this))})
//prints div
$('body').on('click',"div",()=>{console.log($(this))})
//prints window
I try
what happened?
$('body').on('click',"div",function(){console.log($(this))})
//prints div
$('body').on('click',"div",()=>{console.log($(this))})
//prints window
I try