this
is the very element that has the event associating, in your case, the element with "myId".
event.target
is the element that fired the event. Imagine that inside the element "myId" there are other elements, which if clicked, trigger the event of the "myId" parent, event.target
will be this element.
event.currentTarget
is the same as this
. In the case of clicking on a "child" element of "myId", event.target
will be the element that fired the event, and event.currentTarget
will be the "parent".
To illustrate, see the code below:
<div class="pai" id="pai">
<div class="filho" id="filho"></div>
</div>
$( ".pai" ).click(function(event) {
// some code
});
Here, if you click on the div "parent", this
, event.target
and event.currentTarget
will be the same, if you click on the div "child", event.target
will be the child.
See a working example here: link