How to read values from header url in javascript?
For example if I have something like:
www.something.com/details.html?test=something
I need to be able to read this data when I redirect to page details.html
.
What would be a good approach for this? Maybe adding some php code to get data?