I am looking for something like a function $(document).readyin jQuery, as I am working on experimenting using Closure.
So my question is simple, is there a function that I'm missing that will let me wait until my function is called when the DOM tree is executed?
I use unobtrusive javascript, so the idea of โโputting any javascript in my html is so negative if necessary.
source
share