Why does my Qualtrics JS in header only seem to wo

2019-08-04 13:32发布

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条回答
冷血范
2楼-- · 2019-08-04 14:16

You can use this in the Footer under Look & Feel -> Advanced:

<script>

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

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

</script>
查看更多
登录 后发表回答