I noticed that you can't import a javascript file and define a variable in the same <script>.
This is my problem:
<script type="text/javascript" src="js.js">
var id = "587587";
</script>
Is there a way to load the javascript after the variable without using another <script> tag?
document.write('<script src="js.js"><\/script>')in the javascript. But then again, why not insert the script tag manually?