数学评课稿excited表格输入货号价格跟数量自动生成
<html>
<head>
<meta chart="utf-8">
<title></title>
<style>
* {margin: 0;padding:0}
#Tb{width:480px ;margin: 20px auto ; border-collap: collap; border: 2px solid blue;}
#Tb tr{height:28px;}
#Tb th,#Tb td{border:1px solid skyblue;width:120px;text-align:center;height:30px;}
#tx{height:20px;width:100px;}
宠物狗狗
</style>
</head>
<body>
<table id="Tb">
<tr>
<th>商品名称</th>
<th>数量</th>
<th>单价</th>
网络安全手抄报的句子<th>总价</th>
</tr>
<tr>
<td>OPPO手机</td>
<td><input type="text" id="tx" oninput="OnInput(event)"/> </td>
<td >2399</td>
<td id="output"></td>
</tr>
</table>
<script type="text/javascript">
window.alert("请输入需求数量");
function OnInput (event){
ElementById("output").innerHTML=event.target.value*2399;
1
</script>
</body>
</html>
阳台蔬菜<html>
<head>
<meta chart="utf-8">
<title></title>
<style>
* {margin: 0;padding:0}
#Tb{width:480px ;margin: 20px auto ; border-collap: collap; border: 2px solid blue;}
#Tb tr{height:28px;}
春节在什么时候
#Tb th,#Tb td{border:1px solid skyblue;width:120px;text-align:center;height:30px;}
#tx{height:20px;width:100px;}
</style>
</head>
<body>
<table id="Tb">
<tr>
反转小故事
<th>商品名称</th>
<th>数量</th>
<th>单价</th>
<th>总价</th>
</tr>
<tr>
<td>OPPO手机</td>
中庸名句<td><input type="text" id="tx" oninput="OnInput(event)"/> </td>
<td >2399</td>
<td id="output"></td>
</tr>
</table>
<script type="text/javascript">
window.alert("请输入需求数量");
function OnInput (event){
上课了
ElementById("output").innerHTML=event.target.value*2399;
1
</script>
</body>
</html>