问题
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:
You can use this in the Footer under Look & Feel -> Advanced:
<script>
var plug = document.getElementById('Plug');
if (plug) {
plug.parentNode.removeChild(plug);
}
</script>
来源:https://stackoverflow.com/questions/31754742/why-does-my-qualtrics-js-in-header-only-seem-to-work-for-the-first-page