How to create or open a new browser window using javascript?
or
Can we handle the size, position, location of new browser window?
Explanation
Object: Window
Method or Function: open(url,name[,properties])
Opening a new window?:
Open method or function is used to create or open new
browser window in javascript. We have to pass two arguments url path and
a name for that window. The window will be blank if you pass empty string ("") for url.
Opening a new window with specified size, height, location, menu, status, scroll bar, etc..:
The new browser window can be created with specified height, width, location and other properties.
These properties have to be passed as the third argument separated by comma.
Javascript (JS) is one of the most used languages in the world. Some times spelled as Java Script.
Hope you enjoy this tutorial. Do send your feedback or suggestions on this javascript or java script tutorial. This is a copyright content.