Green Computers Green Computers - 2 months ago 6
jQuery Question

jQuery selector with double dollor ($$)

I am working on a project, in that they have used $$ to select an id/class. I am not sure about this. Can anybody tell me what does this mean. I googled it. But did not get proper answer.

$$("#" + idName + "text").setStyle('background', '#000');


It's simply some library shorthand. Like jQuery assigns itself variable $, some other library may assign $$ to itself to avoid conflicting with jQuery