Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
fm
Source Link
Matthew Flaschen
  • 286.4k
  • 53
  • 523
  • 554
<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.

Source Link
Itay Moav -Malimovka
  • 53.8k
  • 68
  • 198
  • 292

<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.