This OLCC programming example page demonstrates getting a structure file from NCI/CADD using JavaScript .

Press the "test" button to evaluate the JavaScript in the textarea below.
Feel free to modify the JavaScript and press test again.

Note that if SMILES is used for the identifier ("cholesterol" here), then
you must be careful to use the "escaped" form of the characters
# (triple bond; %23), % (2-digit connection number; %25), and \ (double bond configuration; %5C)
since these three characters have special meaning in a URL.



url:
result: