Categories
JavaScript

Difference between this and $(this) in JQuery

this refers to the actual DOM element, where stuff like innerHTML, can be used.

$(this) refers to the JQuery wrapper of that element, which where you can use JQuery propietary stuff, like .html()