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")
Also in JavaScript:
- react search when stop typing
- javascript set class
- javascript remove all objects from array of objects except first
- onclick timer javascript
- how to get file extension in javascript last index
- convert timestamp to date js
- get selected option value jquery
- react callback set staet
- JavaScript how do you create a screen pressable button in 10 lines?
- slider js
- Javascript looping through table
- heroku router Cannot GET
- match js
- navigate to route and refresh angular 6
- how to remove duplicates in array in javascript
- implementing node js app on server and runing npm
- type numeric value only in textbox javascript
- FizzBuzz
- js toggle boolean
- minimum number of swaps to sort an array javascript
- clearing cookie in js
- get mouse position javascript
- how to get a channelid discord.js
- jquery create element