Thread: $(element)
View Single Post
Old 02-17-2008, 05:38 AM   #2 (permalink)
Salathe
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
Salathe is on a distinguished road
Default

It's common for many JavaScript libraries to make use of a 'dollar function' as a convenient shortcut for accessing DOM elements (elements in your HTML page). Different libraries do things slightly differently so it's best to look up in the appropriate documentation pages for any particular library that you're using.

It's not a native JavaScript function! Also Google's pretty rubbish at searching for (admittedly very vague) things like that. :)
Salathe is offline  
Reply With Quote