Hide and show next questions in javascript | XM Community
Skip to main content

I have several questions in one block. The first one is text type. I use javascript to edit it as a chat box and mimic a conversation. Meanwhile I want to ask people questions during this chat, for example, the second and third questions in this block will show after the messages in chatbox are displayed. What are the javascript functions I can use to hide/show the questions in the first text question's javascript? Thanks

Why doesn't this code work?
jQuery(questionid="QID114").hide();


https://www.qualtrics.com/community/discussion/comment/37903#Comment_37903i use this instead, and it works
jQuery("#QID114").hide();


Leave a Reply