<html>
<head>
<style type="text/css">
<!--
.input1 {
border-top-width:0px;
border-left-width:0px;
border-right-width:0px;
border-bottom-width:3px;
border-style:double;
border-color:#e0e0e0;
cursor:hand;
color:#808080;
}
.input2{
background-color:#fafafa;
width:250;
height:30;
font-weight:bold;
font-size:12px;
color:#808080;
}
-->
</style>
</head>
<script language="javascript">
function show()
{
document.all.total.value=parseInt(document.all.num.value)*parseInt(document.all.unit.value);
}
function show1()
{
document.all.result.value=parseInt(document.all.total.value)-parseInt(document.all.num1.value);
}
</script>
<body text="#808080">
<div align="center">
<form>
A:<input type=text id="num" class="input1">
B:<input type=text id="unit" onkeyup="show()" class="input1">
C:<input type=text id="total" class="input1" style="border-style:dotted;" readonly value="相乘结果">
D:<input type=text id="num1" onkeyup="show1()" class="input1">
E:<input type=text id="result" class="input1" style="border-style:dotted;" readonly value="相减结果"><p>
<input type=submit value="将所有值提交到数据库" class="input2">
</form>
</div>
</body>
</html>
習慣瞇醉,禧歡跟上帝窷兲,像变澀龙般虚伪,如气候那样善变.人脸背后流淌着恶魔的血,一路向前,猦猦癫癫.