Is there any difference between the following two methods? Is #1 faster than #2 ?
#1
$('#selector').on('click',function(){
$(this)...
// do stuff with clicked element
})
and
#2
$('#selector').on('click',function(e){
$(e.currentTarget)....
// do stuff with clicked element
})
Seems like they are equivalent in most cases, though “this” seems easier to type
according to http://api.jquery.com/event.currentTarget/