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

Buy us coffee

Reviews and Comments