Sale is live! Enjoy 70% Off! Use Credit/Debit Cards in India and PayPal outside of India for better experience!

What does $ mean in jQuery or JavaScript?


In jQuery the variable is assigned a copy of the jQuery function. This function is heavily overloaded and means half a dozen different things depending on what arguments it is passed. In this particular example, you are passing it a string that contains a selector, so the function means "Create a jQuery object containing the element with the id Text".

Author: stackoverflow.com

Reviews and Comments