From: P.Canepa <pc...@ke...> - 2010-03-17 15:07:45
|
Dear All, I try to within a javascript the following operation load "" { x x x} where x x x are values read from textboxes in my HTML page Then the javascript function would be : function setPackaging(){ jmolScript("load" + "''" + "{" + parseInt(document.pack.par_a.value) + parseInt(document.pack.par_b.value) + parseInt(document.pack.par_a.value) + "}") } of course after the load the """ doesn't make sense. In fact Jmol complain! Do you have any clue on how to proceed? thanks Piero -- Pieremanuele Canepa Room 104 Functional Material Group School of Physical Sciences, Ingram Building, University of Kent, Canterbury, Kent, CT2 7NH United Kingdom e-mail: pc...@ke... mobile: +44 (0) 7772-9756456 ----------------------------------------------------------- |