What is the equivalent of the .NET web.config
for JavaScript code?
I'm getting to grips with the use of the configuration details in the web.config
file, but I don't know what (or even if) the configuration options are for JavaScript in the page.
The user case I have is how to have a value the JavaScript
, in this case a target URL, which can be changed depending upon environment, DEV / TEST / LIVE, without changing the JavaScript
code