html编程求助
需要设计一个计算程序,但是皮画出来了,核心内容却不懂得如何写了. 如何在按钮事件中将文本框1和文本框2的数据经过指定方法处理,将值付给文本框3呢? 谢谢了.二楼是演示.
forum.php?mod=attachment&aid=NzU2MzN8OGM2MmNkZDV8MTUzODIxMzA5OHwxMjgwN3wzMDg3ODc%3D&noupdate=yes¬humb=yes
[*]
[*]
[*]
[*]
[*]
[*]商品价格和扣率计算器
[*]
[*]
[*]
[*] 计算供货价格
[*] 进货价格:
[*] 增长扣率:
[*] 供货价格:
[*]计算
[*]
[*]
[*]供货价格=进货价格÷(100-供货扣率%)
[*]
[*]
[*] 计算进货价格
[*] 供货价格:
[*] 增长扣率:
[*] 进货价格:
[*]计算
[*]
[*]
[*]进货价格=供货价格x(100-供货扣率%)
[*]
[*]
[*]复制代码
static/image/filetype/zip.gif
gong.html.zip
(462 Bytes, 下载次数: 650)
2016-3-11 00:34 上传
点击文件名下载附件
牛逼 [*]
[*]
[*]
[*]
[*]
[*]商品价格和扣率计算器
[*]
[*]
[*]
[*] 计算供货价格
[*] 进货价格:
[*] 增长扣率:
[*] 供货价格:
[*]计算
[*]
[*]
[*]供货价格=进货价格÷(100-供货扣率%)
[*]
[*]
[*] 计算进货价格
[*] 供货价格:
[*] 增长扣率:
[*] 进货价格:
[*]计算
[*]
[*]
[*]进货价格=供货价格x(100-供货扣率%)
[*]
[*]
[*]复制代码
wkdhf233 发表于 2016-3-11 02:10
谢谢您的帮助,如果想对结果进行四舍五入呢? 谢谢 慢慢学吧,小朋友 学习js
static/image/smiley/default/lol.gif
static/image/smiley/default/lol.gif
static/image/smiley/default/lol.gif
static/image/smiley/default/lol.gif
static/image/smiley/default/lol.gif
路还很长!!
wkdhf233 发表于 2016-3-11 02:10
乐于助人+1008611 [*]Math.round复制代码
页:
[1]