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 onDOMReady event 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 the onAvailable event, which fires when a specified DOM node loads, and the onContentReady event, 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

Leave a Reply

You must be logged in to post a comment.



Site Navigation