Thursday, June 7, 2012
$(document).ready equivalent without jQuery
I have a script that uses $(document).ready, but doesn't use anything else from jQuery. I'd like to lighten it up by removing the jquery dependency.
How can I implement that functionality without it? It does more than window.onload.