domready


The smallest subset possible from jQuery to support dom Ready event.

If you are ever writing your own JavaScript file that cannot depend on the existing libraries out there and would like to execute only after the page is loaded, this library is for you.

Simply do this:

``` DomReady.ready(function() { alert('dom is ready'); });

```

A big thanks to John Resig and the jQuery team for the parent library and the real hard work to make sense of the browser idiosyncrasies we have today.

Project Information

Labels:
jquery javascript onload