Invalid JavaScript: Unexpected token ILLEGAL | XM Community
Skip to main content

Invalid JavaScript: Unexpected token ILLEGAL

  • December 2, 2021
  • 1 reply
  • 54 views

Hi!

I'm attempting to use the script on this page: https://www2.uned.es/pspp/measures/difi/qualtrics.htm
Whenever I try to enter the code, I receive an error message about an illegal/unexpected function. I'm not a coder myself so I'm unsure how to spot the problem, let alone correct it.
Thank you in advance for any help.

1 reply

Forum|alt.badge.img+22
  • Level 7 ●●●●●●●
  • December 3, 2021

That code appears to be too long for it is supposedly does.
Do you want to use the code or do you want to implement DIFI?