Hello there! I have function: function Dummy(){ adress = window.location.href; regex = "/^&(.*?)?$/"; adress = adress.replace(regex,''); alert(adress); }
I want to replace all parameters, but first. I don't know what is wrong .. :-(
Hello there! I have function: function Dummy(){ adress = window.location.href; regex = "/^&(.*?)?$/"; adress = adress.replace(regex,''); alert(adress); }
I want to replace all parameters, but first. I don't know what is wrong .. :-(