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...@kent.ac.uk
mobile: +44 (0) 7772-9756456
-----------------------------------------------------------
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to