DomReady

Saturday, May 2, 2009 around 12 pm mountain time

I was working on an existing site earlier this week that doesn’t use jQuery and desperately needed a quick, effective and efficient “on DOM ready” handler. I started pull apart and reconstruct jQuery’s jQuery.ready(); method, but stumbled on “DomReady” — the smallest subset possible from jQuery to support dom Ready event. I ran it quickly through Dean Edwards’ Packer and was off. No library needed.

Have your say

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>




Safari hates me