My "Nah" is in reference to "void" having anything to do with it.
JME here is in reference to a named object. It's possible the browser has a
bug that gets confused when a named object and an id object have the same
label, but it really should be OK -- that's what we do with "JmolApplet0".
Supposedly proper form is to use documentGetElementById
Phil, you SURE you have assigned the id attribute for that object as "JME"?
Not just name="JME" but also id="JME"? If not, then that's your problem.
<applet code="JME.class" id="JME" name="JME" archive="JME.jar">
not just
<applet code="JME.class" name="JME" archive="JME.jar">
If you have, then all of these should work:
document["JME"].reset()
JME.reset()
document.getElementById("JME").reset()
But I recommend only the last one.
Bob
------------------------------------------------------------------------------
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users