Template:2011FR/Form-section-radiobuttons-currencychoice: Difference between revisions

Content deleted Content added
Cbarr (talk | contribs)
No edit summary
Cbarr (talk | contribs)
No edit summary
Line 213:
var newPage = window.location.href;
newCountry = document.getElementById("currency-select").value;
newPage = location.replace(newPage.replace("</html>{{{country}}}<html>",newCountry));
alert(newPage);
alert(newCountry);
alert("</html>{{{country}}}<html>")
newPage = newPage.replace("</html>{{{country}}}<html>",newCountry);
alert(newPage);
//window.location = newPage;
//return false;
}
</script>