Answers for "js open link in"

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