Hello, What method/function should I use if I wan...
# javascript
u
Hello, What method/function should I use if I want to completely dump the current window/tab and load some other URL in its place instead? For example the user is on: somedomain.tld/redirectafterpress and I want them to be redirected to this url: somedomain.tld/some/other/path after pressing a button on the webpage
r
Just like in plain JS:
window.location.href = "/some/other/path";