[LON-CAPA-users] Calling the jsme editor from a customresponse problem

Bob Gonzales rgonzal at binghamton.edu
Thu May 5 11:54:27 EDT 2016


Damien,

I've done very very little with Javascript yet so here's a possible
scenario that comes to mind:

- I include the jsme editor in a stringresponse problem
- the student draws the molecule
- the student clicks on 'submit'
- somehow a javascript of mine gets control and somehow gets the structure
converted to a smiles string
- the script then submits the smiles string to loncapa for evaluation like
a normal stringresponse problem

Is something like this possible?

Thanks,
Bob Gonzales
Chemistry Dept
Binghamton University


On Tue, May 3, 2016 at 9:48 AM, Damien Guillaume <damieng at msu.edu> wrote:

> Is it possible to call the jsme editor used by orgainicresponse from a
>> customresponse question?
>>
>> We would like to intercept the submitted answer string and do our own
>> evaluation of it.  We are trying to accommodate isomers.
>>
>
> I don't think you can do that, but nothing prevents you from including
> jsme editor in your page and using it with Javascript.
>
> Damien
> _______________________________________________
> LON-CAPA-users mailing list
> LON-CAPA-users at mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.lon-capa.org/pipermail/lon-capa-users/attachments/20160505/717972c5/attachment.html>


More information about the LON-CAPA-users mailing list