JSmol has no cross-origin issues with PubChem. You do need to use https. On Mon, Oct 12, 2015 at 10:17 AM, Otis Rothenberger <[email protected]> wrote:
> Bob, > > I was pretty sure that was the case. I’m having an awful time with cross > origin issues with AJAX - particularly PubChem. With PubChem, I had to > resort to something called JSONP, which they support. > > Do you do anything special to deal with cross origin AJAX issues? > > Otis > > -- > Otis Rothenberger > [email protected] > http://chemagic.com > > On Oct 12, 2015, at 11:11 AM, Robert Hanson <[email protected]> wrote: > > Yes. JSmol always uses AJAX. > > On Sat, Oct 10, 2015 at 1:24 PM, Otis Rothenberger <[email protected]> > wrote: > >> Bob, >> >> If I do this in Jmol Script: >> >> var x = load("http://cactus.nci.nih.gov/chemical/structure/C/stdinchi >> ");prompt(x) >> >> is Jmol using AJAX? >> >> Otis >> >> -- >> Otis Rothenberger >> [email protected] >> http://chemagic.com >> >> > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Jmol-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jmol-users > > -- Robert M. Hanson Larson-Anderson Professor of Chemistry Chair, Department of Chemistry St. Olaf College Northfield, MN http://www.stolaf.edu/people/hansonr If nature does not answer first what we want, it is better to take what answer we get. -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
_______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

