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')");
Page 1 / 1
@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");
```
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
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.