My apologies. This is really more of a javascript/html question but it is on a Jmol project I am working on. Could someone explain to me what is the problem with the following code? The appletReady() function works just fine in Safari and the page validates as HTML 4.01 strict, but the appletReady() function doesn't work in Firefox. Firebug reports an error and says jmolText is not defined.
function appletReady() { var _dataInfo = jmolGetPropertyAsArray("auxiliaryInfo"); jmolText.value = dump(_dataInfo); } ... <div id="textDiv"> <form action=""> <p><textarea cols="50" rows="50" id='jmolText'></textarea></p> </form> </div> The page is at http://web.mac.com/jhansen4/Jmol/NewJmolDiv.html if that will help. *********************************************** Jeff Hansen Department of Chemistry and Biochemistry DePauw University 602 S. College Ave. Greencastle, IN 46135 [EMAIL PROTECTED] *********************************************** ------------------------------------------------------------------------- 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 Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users