this vs $(this)
In jQuery functions, this most often refers to the actual DOM element you’re dealing with, whereas $(this) returns a jQuery object that wraps the element. In JavaScript, this always refers to the current scope. Many of jQuery’s functions will set that scope to be the element you’re working with. For instance The point is, that the jQuery object has all the … Read more