Hi All,
I have to pipe the statements from matrix type question to Java script if only particular scale has been selected. I have used the following code and it is working fine except in one scenario. In one statement there is a single quotation mark(') and whenever that particular statement selected below code is not working.
var statements = '${q://QID25/ChoiceGroup/SelectedChoicesForAnswer/2}';
I assumed there is an issue with single quotation in the above code and replaced the single quotation mark with double quotation as below and now this script is not working.
var statements = "${q://QID25/ChoiceGroup/SelectedChoicesForAnswer/2}";
Can anyone help me to resolve this issue?
Be the first to reply!
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.