3 ms·
You can do something like this to change the URL without reloading page, and then just use AJAX for the currency switcher: window.history.pushState("Updating
by got2surf 13y ago
You can do something like this to change the URL without reloading page, and then just use AJAX for the currency switcher:
window.history.pushState("Updating URL to ___", "Title", "/?currency=USD");
- elbrian 13y agoPerfect! I'm going to implement this tomorrow morning. Very glad I posted this here. You guys rock. EDIT: Just got it working. Thanks again for the pro advice!