On 28 Aug 2008 at 15:59, Jeff Hansen wrote: > Additionally, the alert(result1) (see code below) displays undefined > in the alert box and alert(result2) displays a blank alert box. So > I'm wondering what is going on with that.
I would say that with result1 you are trying to read from the applet before it has been created, so it's not surprising thayt you get undefined. As for result2, I'm not sure because I don't know the try/catch command, but anyway it may be too soon to have the applet ready. Javascript goes much faster than loading Java + Jmol. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

