Return to Snippet

Revision: 24854
at March 12, 2010 11:19 by azulcm


Initial Code
<script type="text/javascript">
  // Remember to include:    .../build/yahoo-dom-event/yahoo-dom-event.js
  YAHOO.example.init = function()
  {
    // Init stuff Here
    var myAutoComp = new YAHOO.widget.AutoComplete("myInput","myContainer", myDataSource);
  };
  YAHOO.util.Event.onDOMReady(YAHOO.example.init);
</script>

Initial URL

                                

Initial Description

                                

Initial Title
YUI - Determine when the DOM is ready to be used

Initial Tags
DOM

Initial Language
JavaScript