JavaScript Reference/Javascript Methods/close
Версия от 18:30, 25 мая 2010; (обсуждение)
"close()" Example
<html>
<body>
<button onclick="window.close();">Close window</button>
</body>
</html>
"close()" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |document window |
+----------------+--------------------------------------------------------------+
"close()" Syntax, Parameters and Note
Note:
Closes the current window or document.
Syntax:
objectName.close()