I'm trying to add/load a javascript on the document dynamically. This part is okay, but I need to know if the script has been loaded completely or not so that from a 2nd script I can call functions that are on the first script(loading dynamically).
What I have found so far by googling about it, looks like there's no way of doing it. I thought I would ask here in case I missed it. Without modifying the first script, which will be loaded dynamically, is there any way of finding if the script has been completely loaded or not? Does DOM have any properties for this?
Let me know if you have any suggestions. I hope I explained it properly, if not, let me know and I'll try to elaborate it. Thanks



Reply With Quote



Bookmarks