What is the difference between the $get and $find functions in javascript?
I’m guessing that these functions aren’t really javascript-native things, so an additional question would be what are they native to?
Clarification
The web app I’ve seen this in uses jquery and ASP.NET AJAX. Perhaps that changes the meaning of these functions?
You are talking about the MS Ajax Client Library shortcut methods.
$findis a shortcut for theSys.Application.findComponentmethod, and allows you to get a Component object.$get is a shortcut for the Sys.UI.DomElement getElementById method, and it returns a DomElement object.
Check the following article: