Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #onclick #open #url #window
ADD COMMENT
Topic
Name
7+7 =