Feedback on: irt.org FAQ Knowledge Base Q4013
Technical:
Not technical enough
Comments:
HOW! (do you check for the applet's array to be populated?)
Worth:
Not worth reading
Comments:
Answer given is incorrect:
a) knowing an applet has been loaded is extremely useful -- methods can't be called until the load is complete
b) JSObject works both in IE and Netscape
c) therefore, calling back to either a well-know or parametized "onload" handler is easy -- just invoke it in the init() method
Worth:
Worth reading
Comments:
I used onLoad event to make sure applet is loaded and ready to call from javascript. Can't figure out other way to do so.
Comments:
I tried the second solution but I learned that document.applets.length > 0 even if not one applet is done loading. Is there any other way to let the page know that the applet is done? I'm working on remote scripting now and it loads an applet. I want to disable the user to click on the form element which triggers a method that is dependent on the applet so I need to know when the applet is done.
It would mean so much to me if someone could help me with this problem. Thank you very much in advance.