YUI Loader Utility Example: Loading the YUI Calendar Control with the YUI Loader Utility

In this example, we bring a YUI component onto the page using the YUI Loader Utility. This example implements YUI Loader via the YAHOO_config object. We load the YUI Loader script file, then specify in YAHOO_config which component we want loaded on the page — and what we want to do once it is loaded.