📄 onsubmit.jsp
字号:
<html>
<head></head>
<script language="JavaScript">
<!--
function compute(){
window.name="mysubmit"
return true;
}
-->
</script>
<body>
send Length and Width to calculate.jsp
<form name="form1" target="calculate square area"
action="http://localhost:7001/jscript/calculate.jsp"
method="post"
onSubmit="compute()">
Length:<input type="text" name="Len" value="30" size=5 >
<br>Width :<input type="text" name="Width" value="30" size=5 >
<br><input type="submit" name="mysubmit" value="submit">
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -