Hi! Thank you very much for your attention and help !
Actually no error is generated if I'm using jQuery in this way: $("#visualize_tensor_display").append(Jmol.getAppletHtml("jmolApplet0",Info)); The problem occurs when I try to do this: $("#visualize_tensor_commands").append("<script>jmolButton('spin on','spin it!');</script>"); and the generated error is something like "Jmol is undefined" ! >From several other tests I realize that is a problem to use jQuery with JSmol in general (not only with simplemodal)! So, I'm wondering how I can deal with this problem. Now I'm using JSmol.min.nojq.js, since JSmol.min.js is giving me errors (probably because of conflicts between jQuery versions). Do you think there is a way to work around this problem? Do you think that the only way is to change to a newer version my jQuery library? ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users