when to use $(this) and e.target?
I don't have confusion for $(this), but e.target for me is confusing because it can perform the same thing as $(this). (or I'm wrong?)
$(document).on('click',"div", function(){
$(this).css('color', 'red');
}
});
vs
$(document).on('click',"div", function(e){
$(e.target).css('color', 'red');
}
});