Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

openWindow

openWindow( windowtype, url, features, params )
Return type: window
Open a child window. The windowtype is a string specifying a window type. If a window with that type is already open, this method will just switch that window to the front and focus it instead of opening another window. If a window of the type is not open, a new one is opened displaying the supplied url.

Document Tags and Contributors

 Contributors to this page: arlolra, Sheppy, Marsf, Dria
 Last updated by: arlolra,