I have been going through some jQuery functionality.
Can any one please give me some idea of what the difference is between the use of $ and $$?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
On jQuery documentation there is no
$$statement. jQuery has a default selector with$character. Maybe this script uses another javascript package and has some conflicts with jQuery. In this case, you can usejquery.NoConflictto avoid this kind of problem, and set another jquery selector.Something like:
If your code has somethig like to avoid conflicts:
var $$ = jquery.noConfict();, you can use $$ as a jquery selector:See more on the documentation:
http://api.jquery.com/jQuery.noConflict/