I\'m loading a few YUI scripts dynamically in my code in response to an Ajax request. The DOM and the page is fully loaded when the request is made - it\'s a response for an
You could use a setTimeout() to run some function that just checks if it's loaded - check something like
setTimeout()
if (typeof YUI_NAMESPACED_THING !== "undefined") runCode()
EDIT Thanks, CMS