tryit_view.asp@filename=trydhtml_event_onunload
来自「W3Schools tutorial..web designing」· ASP@FILENAME=TRYDHTML_EVENT_ONUNLOAD 代码 · 共 18 行
ASP@FILENAME=TRYDHTML_EVENT_ONUNLOAD
18 行
<html>
<head>
<script type="text/javascript">
function mymessage()
{
alert("This message was triggered from the onunload event");
}
</script>
</head>
<body onunload="mymessage()">
<p>An alert box will display a message when you close this document!</p>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?