tryit_view.asp@filename=tryjs_function1
来自「W3Schools tutorial..web designing」· ASP@FILENAME=TRYJS_FUNCTION1 代码 · 共 24 行
ASP@FILENAME=TRYJS_FUNCTION1
24 行
<html>
<head>
<script type="text/javascript">
function myfunction()
{
alert("HELLO");
}
</script>
</head>
<body>
<form>
<input type="button"
onclick="myfunction()"
value="Call function">
</form>
<p>By pressing the button, a function will be called. The function will alert a message.</p>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?