<script> var config=true; </script> <script src='src="myscriptsrc="myscript.js"></script> You can't pass variables to JS the way you tried. SCRIPT tag does not create a Window object (which has a query string), and it is not server side code.
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about CollectivesStack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
Explore Stack Internal<script> var config=true; </script> <script src='src="myscriptsrc="myscript.js"></script> You can't pass variables to JS the way you tried. SCRIPT tag does not create a Window object (which has a query string), and it is not server side code.
<script> var config=true; </script> <script src='src="myscript.js"></script> You can't pass variables to JS the way you tried. SCRIPT tag does not create a Window object (which has a query string), and it is not server side code.
<script> var config=true; </script> <script src="myscript.js"></script> You can't pass variables to JS the way you tried. SCRIPT tag does not create a Window object (which has a query string), and it is not server side code.
<script> var config=true; </script> <script src='src="myscript.js"></script> You can't pass variables to JS the way you tried. SCRIPT tag does not create a Window object (which has a query string), and it is not server side code.