For example: $$("txtSymbol") finds: ctl00_MainContent_txtSymbol. You can also optionally load a search context which is like jQuery()'s constructor a parent context from which searching is started. Search is still recursive down the DOM tree. If not specified the entire document is searched for the Id.
This method uses jQuery()/$() to find its value so it acts just like the standard jQuery constructor. A jQuery object is always returned - check for length == 0 for no matches rather than checking for null.
$$(id,context)
context
The parent context where searches start from. Use this optimize searches for controls to a specific parent container. If omitted the entire document is searched. Can be a jQuery or DOM object.
// find ctl00_MainContent_txtSymbol alert( $$("txtSymbol").attr("id") );