YUI 2.2.1: onDOMReady and more
Written by on April 12th, 2007 in Ajax News.
The latest YUI release is out there, 2.2.1.
Although it is primarily a bug fix release, there are some important additions.
onDOMReady
We’re happy to announce the inclusion of the
onDOMReadyevent in the Event utility! Now YUI developers can execute their JavaScript when the DOM loads, and before everything else loads too. This utility also provides theonAvailableevent, which fires when a specified DOM node loads, and theonContentReadyevent, which fires when a specified DOM node, plus all of its children, loads.
The browser support has also changed a little, with support for Firefox 2.x and IE 7 on Vista.
Source: Ajaxian
Original Article: http://ajaxian.com/archives/yui-221-ondomready-and-more