Hi Guys - I’ve been asked to implement some very simple logic from a static page. Essentially upon clicking a link, I would need to send a value, interpret the value and then redirect the user to a help page. The only catch is that I will not be able to make use of any server side scripting technologies. So the logic would be something like this:
1) User clicks on link which looks something like this: http://www.url.com?id=1
2) JavaScript interprets URL and redirects to another page based on a switch statement / csv ID to URL mappings
Now i have a feeling that without a server side scripting technology such as php or asp I will be unable to pass the URL? I assume however that I should be able to call a remote JS file that will facilitate the logic?
Can anyone advise the cleanest and easiest way to do this without a server side scripting technology?
1) User clicks on link which looks something like this: http://www.url.com?id=1
2) JavaScript interprets URL and redirects to another page based on a switch statement / csv ID to URL mappings
Now i have a feeling that without a server side scripting technology such as php or asp I will be unable to pass the URL? I assume however that I should be able to call a remote JS file that will facilitate the logic?
Can anyone advise the cleanest and easiest way to do this without a server side scripting technology?