views:

547

answers:

3

Can someone explain the usage of the dollar sign here..

var updateProgressDiv = $get('updateProgressDiv');

scroll down to the functions.. http://mattberseth.com/blog/2007/05/ajaxnet_example_using_an_updat.html

+5  A: 

It's merely part of the function name -- $ is allowed in JavaScript identifiers, so ($get) is the full function name.

John Millikin
This is not right based on the example madcolor sent, see my answer below
Amr ElGarhy
A: 

$get is jQuery syntax for fetching an element. It has nothing to do with C#.

pmarflee
It's not jQuery -- jQuery would be $.get(). I think this is some ASP support script.
John Millikin
+1  A: 

This is asp.net ajax shortcut:
$get Shortcut Method
Provides a shortcut to the getElementById method of the Sys.UI.DomElement class. This member is static and can be invoked without creating an instance of the class.

See more information about

Amr ElGarhy