Jul
30
In a follow-up to our post a few days ago on parallelizing JavaScript loading and firing an event when loading is done, Stefan Hayden wrote a Prototype extension (based on onDOMReady) that makes it easy for you to execute your code when all JavaScript is loaded:PLAIN TEXTJAVASCRIPT: Event.onJSReady(function () { dependent_on_external_js(); });
More: continued here