Window createPopup() Method
Create a pop-up window:
var p = window.createPopup()
var pbody = p.document.body
pbody.style.backgroundColor = "lime"
pbody.style.border = "solid black 1px"
pbody.innerHTML = "This is a pop-up! Click outside to close."
Definition and Usage
The createPopup() method is used to create a pop-up window.
The createPopup() method is an IE-only method, and does not work in other browsers!
Note: As of Internet Explorer 11, the createPopup() method is no longer supported.
|Return Value:||A String, representing the created popup window|
Thank You For Helping Us!
Your message has been sent to W3Schools.