How to call Calculator functions from client side javascript

User c9f8286385

05-07-2007 13:00:35

hi,


I would like to know, how to call calculator plugin functions (like getpH) from client side JavaScript.


e.g. when we use Marvin sketch as applet in web pages, we call its functions in this way: (in JavaScript)





document.MSketch.getMol("Mol");


document.MSketch.setMol(s);


document.MSketch.getAtomCount();


document.MSketch.getMolFormula();






Is there any way to call calculator functions in the same way?





Thanks,


Swapnil

ChemAxon 7c2d26e5cf

06-07-2007 15:45:39

Currently calculations are not available from JMSketch/JMView API.


But we plan to implement this feature.