How to redirect to another webpage in Javascript?
window.location.replace("<URL>") will best simulate an HTTP redirect.
window.location.replace("<URL>") :
Replace method, will replace the current page with the one provided in the input parameter. The current page will not be saved in the session, s...
heyitsvajid.hashnode.dev1 min read