From: Frieda R. <fr...@ns...> - 2008-05-19 14:58:36
|
Hi, Can I access the name of a Jmol.js checkbox through Jmol javascript and 'this.name' ? I am trying to use javascript myFuntion(this.name); inside a checkbox script. A Jmol javascript alert tells me this.name and this.id are undefined. So can that not get "through" via Jmol? I've named the checkbox explicitly by giving it an id, and according to Jmol.js, the name will be the same as the id. Sending the name through as a string works fine. Thanks, Frieda ////////////////////////////////////// Frieda Reichsman, PhD Molecules in Motion Interactive Molecular Structures http://www.moleculesinmotion.com 413-253-2405 ////////////////////////////////////// |