It should be loading the index.html page with the uname param but for some reason it just keeps reloading this page over and over
I have tried every variation I can think of, to include looking at other working examples of my own and of other people. This is not working because it hates me.
function loginLink() {
var linkname = getURLParameter("uname");
window.location.replace("http://www.walkwithpals.com/index.html?uname=" + linkname);
}
This is the html
<button onclick="loginLink()">Already have an account and want to link to a friend?</button>
Here is the live site and the page in question WalkWithPals