Why does my Qualtrics JS in header only seem to work for the first page?

时间:2015-07-31 20:34:26

标签: javascript iframe qualtrics

I have tried to place it in in the Qualtrics header with the tag and the JS section within the individual questions in Qualtrics.

This code is successful in hiding the "Powered by Qualtrics" tab at the bottom of the first question, but every other question after the first one will show the "Powered by Qualtrics" tab.

FYI this Qualtrics survey is currently embedded on another site via iframe tags.

Any thoughts?

<script>
Qualtrics.SurveyEngine.addOnload(function() 
{ 
    var plug = document.getElementById("Plug");
    plug.style.cssText += ';display:none !important;';
}); 
</script>

Source: KamikazeBot/The Qualtrics HTML_CSS Bible

1 个答案:

答案 0 :(得分:0)

你可以在Look&amp; amp;中的页脚中使用它。感觉 - &gt;高级:

<script>

    var plug = document.getElementById('Plug');

    if (plug) {
        plug.parentNode.removeChild(plug);
    } 

</script>
相关问题