Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What is $$ in jQuery

 
silamala ramesh babu
Greenhorn
Posts: 25
Eclipse IDE Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 .
 
Tim McGuire
Ranch Hand
Posts: 820
IntelliJ IDE Tomcat Server VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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. ;)



 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic