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 a YAHOO.util.YUILoader instance. We load the YUI Loader script file, then specify in configuration which component we want loaded on the page — and what we want to do once it is loaded.