The usual jQuery syntax does not work when I try to get values of HTML elements. What syntax works in QX actually?
Solved
How can I get values of UI elements using jQuery?
Best answer by Tom_1842
Try adding the below to the question’s JavaScript in the OnReady section:
var qid = this.questionId;
var statement1 = document.getElementById("header~"+qid+"~1");
var statement1text = jQuery(statement1).text().trim();
console.log(statement1text);
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.


