oTree Forum >

Drag and drop information

#1 by JuanGonzalez


I need to implement a drag and drop set up for an experiment. I have several images that have to be dragged and dropped in container boxes, one in each of them. How can I access the information of which image is dropped in each container box? 

Thank you!

#2 by coralio

Below is your answer. The key is to use datatransfer:

Write a reply

Set forum username