Really quick question regarding using an HTML element on click input for a miTime trial.
Here's the code snippet for the input portion of the trial:
I'm trying to simply create a button to progress through the trial. This code snippet works when running the .js file directly, however when accessing it through the .expt.xml file, I get an error that reads:
Uncaught TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'.
The button created in the code snippet doesn't appear due to the error. Does anyone have any idea how to make this code snippet work when accessing it through the .expt.xml file? Hopefully this is a quick fix.
Thanks in advance!