I have a query string (example) ?something=1&something=3
I want to find and then add these parameters to a new URL and goto that URL on button click event.
I can find the query string using var x =location.search;
but don't know how to add to a new URL, then use the function on button click event.
Many thanks in advance!