adspace
What is the difference between $(this) and 'this' in jquery?
Answer Posted / Anurag Vishwakarma
In jQuery, `$(this)` creates a wrapped set containing the DOM element or elements that correspond to the current object. It can be used within event handlers, callbacks, or any other place where you need to reference the current element.nOn the other hand, `this` without the $ sign refers to the global object (in a browser context, it would be the window object).
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How can jquery library be added to pages?
How to validate email using jquery?
How to always reference latest version of jquery?
How do you install/use jquery in a project. What is the minimum setup needed to start using jquery.
Do you have plans for a new jquery plug-in or something else we should look out for? Where to from here for the imgpreview plugin?
What is the minimum setup needed to start using jquery.