这个VBScript怎么了?当我按下按钮时,味精盒不会打开..。
<html>
<head>
<script language="VBScript">
Sub showMsg
MsgBox "Hello";
End Sub
</script>
</head>
<body>
<button onclick="showMsg">Show Message</button> <p>
</body>
</html>
发布于 2015-09-22 18:07:04
发布于 2015-09-22 17:52:18
你还没有真正调用过潜艇。试试<button onclick="showMsg()">
https://stackoverflow.com/questions/32729721
复制