What does dollar sign ($) means in jQuery?

Answer Posted / chaitanya

Dollar Sign is nothing but it's an alias for JQuery. Take a look at below jQuery code.

Hide Copy Code

$(document).ready(function(){

});

Over here $ sign can be replaced with "jQuery" keyword.

Hide Copy Code

jQuery(document).ready(function(){

});

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of minified version of jquery?

445


Explain the difference between jquery-x.x.x.js and jquery.x.x.x min.js?

417


What are jquery selectors?

481


What is the difference between onclick and onsubmit?

473


What is the between $(this) and 'this' in jquery?

496






What are the types of selectors that are used in jquery? Give examples.

479


And finally, if you could give one tip to any new budding jquery ui developers, what would it be?

496


How did you become the creator of jquery ui? Whats the story behind that?

753


What is parent() in jquery?

472


Difference between detach and remove? : jQuery Mobile

450


Is jQuery is a client or server scripting?

496


How do you get the attribute of an html tag in jquery?

428


Explain the difference between parent() and parents() methods in jquery? : jquery mobile

458


What is the basic requirement to start with the jquery?

502


Do you know what is the use of jquery.data()?

449