Hi all,
I am struggling to hide an entire row within a matrix question if another item within the same matrix was answered with a certain answer.
This is the code for one option within the matrix question (to get the QR number etc.)
I have tried the following code elements, but none of them hided this row:
var cell = "19~42";
jQuery("#QR~"+this.questionId+"~"+cell).replace(/~/g, "\\~").closest("tr").hide();
jQuery(("#QR~"+this.questionId+"~"+cell).replace(/~/g, "\\~")).closest("tr").prop("disabled",true).hide();
jQuery("#QR~"+this.questionId+"~19").closest("tr").hide();
jQuery("#QR~"+this.questionId+"~19").closest("tr").prop("disabled",true).hide();
jQuery(("#QR~"+this.questionId+"~19").replace(/~/g, "\\~")).closest("tr").prop("disabled",true).hide();
Can someone give me a hint?
Thank you very much!!
Florian
Question
Javascript hide row within matrix question
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
