<div dir="ltr"><div><div><div><div><div><div><div><div>Damien,<br><br></div>I've done very very little with Javascript yet so here's a possible scenario that comes to mind:<br><br></div><div>- I include the jsme editor in a stringresponse problem<br></div>- the student draws the molecule<br></div>- the student clicks on 'submit'<br></div>- somehow a javascript of mine gets control and somehow gets the structure converted to a smiles string<br></div>- the script then submits the smiles string to loncapa for evaluation like a normal stringresponse problem<br><br></div>Is something like this possible?<br><br></div>Thanks,<br></div><div>Bob Gonzales<br></div><div>Chemistry Dept<br></div><div>Binghamton University<br></div><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 3, 2016 at 9:48 AM, Damien Guillaume <span dir="ltr"><<a href="mailto:damieng@msu.edu" target="_blank">damieng@msu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is it possible to call the jsme editor used by orgainicresponse from a<br>
customresponse question?<br>
<br>
We would like to intercept the submitted answer string and do our own<br>
evaluation of it.  We are trying to accommodate isomers.<br>
</blockquote>
<br></span>
I don't think you can do that, but nothing prevents you from including jsme editor in your page and using it with Javascript.<br>
<br>
Damien<br>
_______________________________________________<br>
LON-CAPA-users mailing list<br>
<a href="mailto:LON-CAPA-users@mail.lon-capa.org" target="_blank">LON-CAPA-users@mail.lon-capa.org</a><br>
<a href="http://mail.lon-capa.org/mailman/listinfo/lon-capa-users" rel="noreferrer" target="_blank">http://mail.lon-capa.org/mailman/listinfo/lon-capa-users</a><br>
</blockquote></div><br></div>