<table id="table1">
<tr> <td><input type="text" value="2" /></td><td><input type="text" value="2" /></td><td ><input type="text" class="wcp" onblur="check(this)" /></td></tr>
<tr><td><input type="text" value="3" /></td><td><input type="text" value="4" /></td><td ><input type="text" class="wcp" onblur="check(this)" /></td></tr>
</table><script>
function check(a)
{
}
</script>
该怎么写,可以加属性 class,不能加属性id
很急
<tr> <td><input type="text" value="2" /></td><td><input type="text" value="2" /></td><td ><input type="text" class="wcp" onblur="check(this)" /></td></tr>
<tr><td><input type="text" value="3" /></td><td><input type="text" value="4" /></td><td ><input type="text" class="wcp" onblur="check(this)" /></td></tr>
</table><script>
function check(a)
{
}
</script>
该怎么写,可以加属性 class,不能加属性id
很急
解决方案 »
- 表单写给js验证,不能为空就好
- 急求:asp页面中安装activeX,open页面提示permission denied
- 多选文件
- 一直想知道的一个问题,有没有官方的Javascript API文档?
- JS文件打开报错
- 关于文字无缝左右滚动的问题
- 重分求教::::有办法从文本域中将光标跳转到指定字符处并选中指定X个字符吗?
- chinaren里留言框的输入数字会逐渐减少,怎么实现啊?在线等~~~~~~~
- 跪求M$网站的这个拖动图层效果!链接附内。
- PCONLONE这样的菜单效果是如何实现的?在线等待,谢谢!
- html中如何把js代码的某个变量值显示出来
- c#后台往前台输出table(多组radio)如何取值?
var oInputs = o.parentNode.parentNode.getElementsByTagName('input');
o.value = parseInt(oInputs[0].value) * parseInt(oInputs[1].value);
}