$(this)
is a jQuery object. this
refers to the value of this
within the current scope. You typically use $(this)
inside a callback when you want to convert the element that triggered the event, into a jQuery object. You can do this to pretty much any DOM element, so $(document.getElementById("#myElement"))
is also valid, and is a jQuery object that represents the DOM element with id "myElement".