I have a matrix question of Likert type. I have 4 statements, but I also have to allow the respondent for a text entry and then rate that in the Likert scale. The text entry box of the "others please specify:" should be hidden until is clicked. Also, I want the text to be cleared as soon as the respondent chooses another statement. I have a java code that runs well for the multiple choice question with a other 's please specify box. I tried to change that code as per matrix but its not working. Any suggestions please.
Question
How can I make text box in a matrix question appear only when its clicked?
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.

var qid = this.questionId;