logo
Search
showing results for - "javascript onclick open url same window"
Stefano
27 Sep 2020
1/* FIRST WAY*/
2window.open("instagram.com/9_tay", "_self")
3/* SECOND WAY*/
4window.location.href = "instagram.com/9_tay"
5/* THEARD WAY*/
6window.location.replace("instagram.com/9_tay")
7
source
similar questions
how to make a button jump between two functions when clicked in javascriptonclick redirect to urlhow to go to another page onclick in reactjquery onclick open urljavacript open url in new tabjavascript open in new window not tabreactjs onclick open new pagejavascript onclick to another page divopen window in same tabwindow open same tabopen url in different tab javascriptjavascript open link in new tabonclick open link jsonclick go to urlonclick html to run another html onclikcload url onclick javascripthow to open next page on click button in javascriptjavascript open link with buttonhow to open a new html page on button click in javascriptjavascript onclick href location
queries leading to this page
onclick open url in same windowjavascript go to url in same windowjavascript onclick open url same window
privacy policyterms of useinstagram
Crafted with  ♥  for everyone

sign in to continue
your answer for
you will get a confirmation link on this - you will have to click that for successful submission of your answer. we require this to keep the website free of spam, bots and unhelpful content
please ensure to add code which is syntactically corrent and executes properly
sign in to continue
ask question on maxinterview
you will get a confirmation link on this - you will have to click that for successful submission of your question. we require this to keep the website free of spam, bots and unhelpful content
please be clear, to the point and respectful
sign in to continue