已采纳回答 / Ted688
num.onclick = function (e) {//num是哪一行 e = e || window.event; var el = e.srcElement; var cls = el.className; var input = this.getElementsByTagName('input')[1]; //取得input的第几个值 var val = parseInt(input.value); var reduction ...
2017-05-03
最赞回答 / 浮生若梦思
* { margin: 0; padding: 0;}a { color: #666; text-decoration: none;}body { padding: 20px; color: #666;}.fl{ float: left;}.fr { float: right;}table { border-collapse: collapse; border-spacing: 0; border: 0; text-align: ce...
2017-01-24