aspose file tools*
The moose likes Other Application Frameworks and the fly likes What is $$ in jQuery Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "What is $$ in jQuery" Watch "What is $$ in jQuery" New topic
Author

What is $$ in jQuery

silamala ramesh babu
Greenhorn

Joined: Dec 08, 2011
Posts: 25

Hi every one,

I am new to Jquery, i learnt JQUERY and started working on that and somewhere i saw $$ in the code.
I gogled for $$ in Jquery but no use so any one can help me in this .


rsilamala
Tim McGuire
Ranch Hand

Joined: Apr 30, 2003
Posts: 820

I think it is just a convention used by a particular developer.

See This thread: http://stackoverflow.com/questions/1463867/javascript-double-dollar-sign


Short answer, the $ sign is a valid identifier in JavaScript so you are just looking at a bunch of ugly variable names. ;)



 
It is sorta covered in the JavaRanch Style Guide.
 
subject: What is $$ in jQuery