Piero, you must be careful with the quotes. Javascript gets confused
Try this way, combining double quotes (for Jmol) and single quotes
(for JS):
function setPackaging(){
jmolScript('load "" {' + parseInt(document.pack.par_a.value) +
parseInt(document.pack.par_b.value) + parseInt(document.
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(docume