I want to make a website page, say the domain like this http://www.test.com
. In this web, i have page http://www.test.com/page1.html?bounce=http://www.test.com/page2.html
.
I want to make button link in the /page1.html which linked to /page2.html using javascript? How i can do that using url parameters info like this
http://www.test.com/page1.html?bounce=http://www.test.com/page2.html