Jquery-Different between event.target and this keyword?
- by Jerry
Hi all
Got a quick and might be an newbie question.
What is the different between event.target and this?
let's say I have
$("test").click(function(e){
$thisEventOb=e.target;
$this=this;
alert($thisEventObj);
alert($this);
});
I know the alert will pop different value. Anyone could explain the difference? Thanks a million.