JavaScript Reference/Javascript Methods/hide
"hide()" Example
<html>
<body>
<script language="JavaScript">
var myPopup
function function1() {
myPopup = window.createPopup();
myPopup.document.body.style.backgroundColor = "yellow";
myPopup.show(100,100,100,200,document.body);
}
</script>
<input type="button" value="Show popup window" onclick="function1();">
<input type="button" value="Hide popup window" onclick="myPopup.hide();">
</body>
</html>
"hide()" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |popup |
+----------------+--------------------------------------------------------------+
"hide()" Syntax, Parameters and Note
Note:
Hide a pop-up window.
Call show() method to display it.
Syntax:
popupName.hide()