open window url property as id of a div code example
Example 1: javascript open url
window.location.href = "http://example.com/";
Example 2: 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")