Forum Moderators: open
document.write("<SCR" + "IPT TYPE=\"text/javascript\" SRC=\"whatever.js\"><\/SCR" + "IPT>
How do I send javascript variables from test.js to whatever.js?
Normally, one could have a script section before calling the script calling the external file, but I can't seem to get that to work.
In other words, how can I pass variables calculated in test.js to the external script whatever.js?