What is the use of Window.Open method in Javascript?

 Posted by Rajesh_Kumar on 2/20/2014 | Category: JavaScript Interview questions | Views: 642 | Points: 40
Answer:

Window.Open opens a new window and loads the document specified by a given URL or navigates the app window to the specified location.
It's an static method of window object.

Syntax:
window.open(URL,window_name,features,replace);

Where,
URL - can be any URL or name of the ASPX/HTML page.
Window_Name - can be any name.
Features - can be any feature.
Replace - can be any boolean value .i.e. True/False.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response