How to change the URL address using javascript
•
1 min read
Here the snippet:
location.href = 'https://www.example.com'
And to reload the current address:
location.reload()
Here the snippet:
location.href = 'https://www.example.com'
And to reload the current address:
location.reload()