Hi. The problem: I have a .html page and there, via src="base.js",
Now the JS code in particular involves document and submit and is short. (after the function name, its document.formular5.submit(); )
If i put the JS in the .html page via
If I put it into a .js file, it no longer works.
I would like to get it to work because I will have to rely on this JS code for several html-pages and adding JS into each html page is not how i would like to see this solved.
I suspect that something either with the submit or the document is not correct (in the .js file).
If someone would have an idea what could be wrong ?