0

How to open a link in the same window same tab using JavaScript ?

window.open("link.html"); - this opens the link in new tab but I want to open in same tab

18th Apr 2017, 9:07 PM
Ngangbam Indrason
Ngangbam Indrason - avatar
2 Antworten
+ 2
window.open("link.html","_self");
18th Apr 2017, 9:33 PM
Manolis Saldaris