How to open URL in the same window and tab in javascript

Posted by Wei Xia on December 17, 2017 | Hits:


I want to open an URL in the same window without opening a new tab.

How to do this?


We need to add the following attribute."","_self")

If the attribute doesn’t have "_self", it will oepn this URL in a new window/tab.


This is the end of post