I've made an array containing a list of words in words.js. The variable ww contains a random word after the function has finished calculating.
Now in test.html, I want to insert that ww variable in a text field:
obj.setField("q",ww);
so that the random word will be automatically inserted into the field by referencing the variable from words.js.
How can I do that?