【发布时间】:2009-05-08 23:47:12
【问题描述】:
我很难过,我似乎无法调用这个简单的 Javascript 函数。 谢谢!
<html>
<head>
<script type="text/javascript">
function increase()
{
alert(" the button was pressed");
}
</script>
</head>
<body>
<form action="Test.html" method="post">
<input type="submit" onclick="increase();" />
</form>
</body>
</html>
【问题讨论】:
-
好吧,你不会在我们能看到的任何地方调用它。这可以解释问题。
标签: javascript function call