Answers for "open new tab js in current tab"

2

window open same tab

window.open("https://www.youraddress.com","_self")
Posted by: Guest on November-13-2020
5

javascript open url

window.location.href = "http://example.com/";
Posted by: Guest on May-21-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language