First I wish you a happy new year! All the bests!
My goal is to make people choose an order for videos, and I would have liked to implement a drag and drop option (like "sortable" with jquery) to make the experiment more comfortable and intuitive. I started with testing available snippets of codes, and drag and drop examples I found online didn't work if launched with Prodigy while they worked if the html was opened individually, so I did easier tests.
I did an easy example to check something:
"document.getElementById("mydiv").innerText = "text"; (it's not in any function)
when I launch Prodigy on local and watch the log I have the following message:
"Uncaught TypeError: document.getElementById(...) is null" meaning that mydiv is null thought it does exists.
Thanks in advance for your answer,