I’m having a heck of a time figuring this one out.
I would like to add a querystring parameter that will hide (or not, based on the value) certain elements on the page via Javascript. I need to be able to change the visibility of certain on screen elements based on the user clicking an external link (that contains the proper querystring parameter) and depending on which link they click they get a slightly different experience.
Example:
http://dundas-server.com/Dashboard/?e=true&vo=none&viewType=light
http://dundas-server.com/Dashboard/?e=true&vo=none&viewType=heavy
I can’t capture it in JS because the querystring is rendered before any event I can utilize. Correct?
Any thoughts on how I can do this? It has to be using a querystring parameter.