asp.net ajax - What's the difference between $get and $find in JavaScript? -
i'm .net programmer who've started learn more client side scripting, , wondering use $get('value')
, $find('value')
, i've discovered these shortcuts document.getelementbyid('value')
, sys.application.findcomponent('value')
, respectively.
however, still don't understand: difference between these 2 functions in javascript? looking up/retrieving when invoked?
thanks in advance.
$get
& $find
shortcut functions microsoft has built ajax javascript library.
$get
short standard javascript getelementbyid
function. $find
short .net's findcomponent()
function. not standard javascript function , specific microsoft's ajax javascript library.
matt berseth great write of differences & usages here.
Comments
Post a Comment