Bob or Anyone Else Who Might Know, I'm reading the HTML in a local text file directly into a page JavaScript variable using reader.readAsText(buFile, "UTF-8"). When this process reads an html SMILES (e.g. C(=C\C)/C), it sure looks like the back slashes are automatically escaped for the JavaScript variable. While this is a txt file, it has HTML structure. The SMILES is inside a span tag.
When the HTML in the JavaScript variable is rendered as HTML via JavaScript (or JQuery), the C(=C\C)/C) is good to go without explicitly doing the character escaping. Does anyone know if this is the cross browser standard for this type of operation? Otis -- Otis Rothenberger o...@chemagic.org http://chemagic.org ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users