The difference between a DOM element and a jQuery selection.
"this" in the code you specified above is a link to a DOM element of a link. $ (this) creates a jQuery selection based on a DOM element that contains only this link.
Choosing jQuery will give you various features for little performance. Your link element has the href property (i.e. you can access it through this.href), while jQuery selection has all the usual jQuery properties and methods.
To get the link target this.href is definitely the way to go. It is simpler, faster, and less verbose.
lonesomeday
source share