Forum Discussion

stm's avatar
Occasional Contributor
7 years ago

Migration Jscript to JavaScript and contentDocument.Script

I'am trying to migrate an existing Project from Jscript to Javascript and I've read the instructions for migration

Migration self works fine except one strange problem with Internet-Explorer:
The testscript calls custom javascript with page.contentDocument.Script, this works in Chrome and Firefox
In Internet-Explorer I get an error with TypeError: Cannot read property <Javascript-Funktion-Name> of undefined

In Jscript the function call works without any problem. What can be wrong?
Before posting I'v tried several things without sucess.

Martin Stromberger

5 Replies