Last post Dec 28, 2009 12:54 PM by InfinitiesLoop
Dec 28, 2009 09:29 AM|Dj__|LINK
What is the keyword(Sys.Scripts.<for MicrosoftAjax.js)?
I am not able to use Basic feature like $get without above file?
Dec 28, 2009 12:54 PM|InfinitiesLoop|LINK
Sys.scripts.ComponentModel has $get, but I'd recommend you use Sys.get instead, which you can use without any scripts (just the loader itself). Sys.get works with selectors, so you'd use Sys.get("#id") instead of $get("id"), for example.
MicrosoftAjax.js is a composite script composed of many of the scripts you see on Sys.scripts. Composite scripts are accessible via Sys.composites, which you could also pass to Sys.require if you want to load a composite explicitly (normally, composites
are automatically selected if you require all of their component parts).