Due to timing issues, I'm trying to prevent an applet from loading until a page is completely loaded ($(document).ready(...);
). However, I'm using the java deployment toolkit to launch the applet, which naively uses document.write to push data to the browser. Obviously, this breaks horribly if I attempt to run the applet after the is written.
How, therefore, can I prevent the applet from initializing until I want it to?