Open the URL in a new window:
url = "http://www.systutorials.com";
Some browser will open the window in a new tab depending on the configuration. If you want to force the browser to open a new window, a tip is to use code as follows.
url, "window name",
(it works on most browsers while the browser may still choose to ignore it)
Additionally, the "
window.close()" method can close the window.
Full syntax of the "window.open()" method can be found in: