Answers for "open window url property as id of a div"

5

javascript open url

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

javascript onclick open url same window

/* FIRST WAY*/
window.open("instagram.com/9_tay", "_self")
/* SECOND WAY*/
window.location.href = "instagram.com/9_tay"
/* THEARD WAY*/
window.location.replace("instagram.com/9_tay")
Posted by: Guest on November-26-2020

Code answers related to "open window url property as id of a div"

Code answers related to "Javascript"

Browse Popular Code Answers by Language