Dollar sign in javascript methods

Can someone explain the use of the dollar sign here.

var updateProgressDiv = $get('updateProgressDiv');

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

+3
source share
3 answers

This is just part of the function name - $ is allowed in JavaScript identifiers, so ($ get) is the full name of the function.

+7
source

This is an 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 called without instantiating the class.

Read more about

+1
source

$get - jQuery . #.

0

Source: https://habr.com/ru/post/1706475/


All Articles