标签:
自动计算器(+,-,*,/)
<form method="post" oninput="o.value = parseInt(a.value) + parseInt(b.value)"> <input type="number" name="a">+<input type="number" name="b">= <output name="o"></output><br> </form>
标签:
原文地址:http://www.cnblogs.com/tianhengblogs/p/5335062.html