What does dollar sign ($) means in jQuery?
Answers
Answered by
0
That dollar sign is used to access/define jquery. Basic syntax injquery : $(selector).action() A dollar sign to define jQuery. A (selector) to "query (or find)" HTML elements.
$ sign is just a valid javascript identifier which is used as an alias for jQuery. Prototype, jQuery, and most javascript libraries use the $ as the primary base object (or function). Most of them also have a way to relinquish the $ so that it can be used with another library that uses it.
$ sign is just a valid javascript identifier which is used as an alias for jQuery. Prototype, jQuery, and most javascript libraries use the $ as the primary base object (or function). Most of them also have a way to relinquish the $ so that it can be used with another library that uses it.
Answered by
0
sign define / access jQuery
Similar questions