My code below receives the following error on IE11.
Qualtrics.SurveyEngine.addOnReady(function()
{
console.log('test');
});
Error:
Failed executing Page "ready" event handler TypeError: Object doesn't support property or method 'includes'
Does IE11 not support this Qualtrics method or am I missing something?
Page 1 / 1
Can you paste all the code you added to the "Add JavaScript" area, there must be somewhere it uses the keyword "includes" which is not supported by IE11.
Qualtrics.SurveyEngine.addOnload(function()
{
/*Place your JavaScript here to run when the page loads*/
});
Qualtrics.SurveyEngine.addOnReady(function()
{
console.log('test');
});
Qualtrics.SurveyEngine.addOnUnload(function()
{
/*Place your JavaScript here to run when the page is unloaded*/
});
{
/*Place your JavaScript here to run when the page loads*/
});
Qualtrics.SurveyEngine.addOnReady(function()
{
console.log('test');
});
Qualtrics.SurveyEngine.addOnUnload(function()
{
/*Place your JavaScript here to run when the page is unloaded*/
});
Not seeing the error anymore or anything else in the console (I would expect to see the string 'test').
it must be some other JavaScript you added in other questions that contains the string "includes" that broke the IE11.
If you create a brand new survey and add the javascirpt you mentioned, you can see the test message without issue. I just tested in my IE11 instance with a new survey.
If you create a brand new survey and add the javascirpt you mentioned, you can see the test message without issue. I just tested in my IE11 instance with a new survey.
I am thinking it might have something to do with how our Vanity URL was setup. Could that potentially be a culprit?
I am only using anonymous link for testing. maybe if you try to use anonymous link to test and you still got the error, then your problem is not related to vanity URL.
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.