Survey Design - Java Script - Qualtrics software Update - Activating Tool Tips | XM Community
Skip to main content
Before Qualtrics update in September, we used to have tooltip information which does not seem to be functioning anymore. Would anyone know how to update this coding?



Qualtrics.SurveyEngine.addOnload(function()

{

var a = document.getElementById("QR~QID135");

document.getElementById("QR~QID135").setAttribute("onFocus","javascript:revealToolTip('QID135','tooltip12')");

document.getElementById("QR~QID135").setAttribute("onBlur","javascript:hideToolTip('tooltip12')");
@GCosta,



You'll need to post the code for the revealToolTip and hideToolTip functions. Post code in 'fences' like this.

\\`\\`\\`

post code here

\\`\\`\\`



Also, it's generally not a good idea to hard code QIDs. Use this.questionId instead:

```

var a = document.getElementById("QR~"+this.questionId");

```

Leave a Reply