Monday, September 12, 2011

What do Dollar ($) sign significance in jQuery?


Dollar Sign is nonetheless an alias for JQuery. You can write jQuery syntax using $ sign or jQuery.
This can also be called Selector($).


This can be called as an expression for identifying target elements on a page that allows  to easily identify and also  grab elements required.


The below 2 syntaxes are the same to create a function using jQuery.
To collect a group of elements, we use the simple syntax $(selector) or jQuery(selector).

No comments:

Post a Comment