Hi all,
Hoping a JS expert can lend a hand here.
I’ve created three variables and a function as a script in an html element:
All it should do is change the URL to be the url and append a querystring ?name=first_name (where first_name is the variable set to John). The page has it’s ID attribute set to ‘page’ for the .document.getementbyid to work.
However, when I run the function using the Toolbox Run Javascript action it says the functions is not defined:
Any idea why this is?
Thanks in advance