javascript如何实现一个table中的两个字段计算
例如:
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="table">
<tr>
<td><table id="tb" width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#EEEEEE">
<tr >
<td class="td_center" width="10%" nowrap>薪资项目</td>
<td class="td_center" width="10%" nowrap>计算金额</td>
<td class="td_center" width="10%" nowrap>调整金额</td>
<td class="td_center" width="10%" nowrap>合计</td>
</tr>
<tr class="tr2" onMouseOut="this.style.backgroundColor='';this.style.color=''"
onMouseOver="this.style.backgroundColor='#E2FFFD'">
<td align="center">基本工资</td>
<td align="center">1000</td>
<td align="center"><input type="text"></td>
<td align="center"><input type="text" readonly></td>
</tr>
</tabl
相关问答:
这是我的文本框
<input type="text" size="60" name="password_answer" id="pwdanswer" value="$!password_answer" >
提交按钮
<input clas ......
我手边有csdn论坛弹出信息窗口的代码(可以从http://www.codefans.net下载),但它显示的只是固定的信息,现在想改造一下以便能通过后台调用Sql Server 2000数据库自动将数据表中的信息作为弹出窗口显示的信息。csdn论 ......
如果不能 ,那么WebOS不是没有前途? 别人的成果很快就被共享了?那还有谁愿意开发啊?
问的好!你去问一问开源软件为什么要开源
我倒不觉得我看了linux源码就能写一个linux出来,哈哈
呵呵,赚钱的模式不一样 ......
我做一个页面,里面包括了文本框、文本域等等,我现在想在页面上加一个按钮,当我点击按钮时候,就将本页面到出成word文档。大家帮帮我吧。急啊。。。。。。。
使用js操作的话,除非本地安全允许,这样可使用Active ......