excited表格输入货号价格跟数量自动生成

更新时间:2023-07-14 16:35:29 阅读: 评论:0

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>
no politics today>扬州新东方<td id="output"></td>
</tr>
</table>
<script type="text/javascript">outbreak
window.alert("请输入需求数量");
function OnInput (event){
ElementById("output").innerHTML=event.target.value*2399;
1
</script>
</body>
</html>
<html>
<head>七年级下册英语书电子版
<meta chart="utf-8">
<title></title>
avenues<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>evolutionary
</tr>
</table>
<script type="text/javascript">
window.alert("请输入需求数量");
function OnInput (event){
ElementById("output").innerHTML=event.target.value*2399;
1
</script>
tss服务</body>
</html>spawning

本文发布于:2023-07-14 16:35:29,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/90/177315.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:数量   输入   价格   英语书   电子版   下册   货号   自动
相关文章
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图