第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問題,去搜搜看,總會(huì)有你想問的

兩列遞增的文本框取值相乘之后結(jié)果再相加JS怎么寫

兩列遞增的文本框取值相乘之后結(jié)果再相加JS怎么寫

shify 2015-06-27 22:15:47
? ? ? ?<table id="table0button" class="form" style="word-wrap: break-word; width: 100%; left: 0px" name="table0button">? ? ? ? ? ? ? ? <tbody>? ? ? ? ? ? ? ? ? ? <tr>? ? ? ? ? ? ? ? ? ? ? ? <td style="font-size: 0pt" height="15" colspan="2">&nbsp;</td>? ? ? ? ? ? ? ? ? ? </tr>? ? ? ? ? ? ? ? ? ? <tr>? ? ? ? ? ? ? ? ? ? ? ? <td align="left">&nbsp;</td>? ? ? ? ? ? ? ? ? ? ? ? <td align="right">? ? ? ? ? ? ? ? ? ? ? ? <div id="div0button"><button id="$addbutton0$" class="BtnFlow" accesskey="A" name="addbutton0" onclick="addRow0(0);return false;"><u>A</u>-添加</button><button id="$delbutton0$" class="BtnFlow" accesskey="E" name="delbutton0" onclick="deleteRow0(0);return false;"><u>E</u>-刪除</button></div>? ? ? ? ? ? ? ? ? ? ? ? </td>? ? ? ? ? ? ? ? ? ? </tr>? ? ? ? ? ? ? ? ? ? <tr>? ? ? ? ? ? ? ? ? ? ? ? <td colspan="2">? ? ? ? ? ? ? ? ? ? ? ? <table id="oTable0" class="ListStyle detailtable detailtableTopTable" style="width: 100%" border="1" name="oTable0">? ? ? ? ? ? ? ? ? ? ? ? ? ? <colgroup><col width="13%"></col><col width="8%"></col><col width="13%"></col><col width="8%"></col><col width="8%"></col><col width="8%"></col><col width="8%"></col><col width="8%"></col><col width="8%"></col><col width="8%"></col><col></col></colgroup>? ? ? ? ? ? ? ? ? ? ? ? ? ? <tbody>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <tr class="header detailtitle">? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <td class="detailtitle" nowrap="nowrap" align="center"><input id="$label8569$" class="Label" name="label8569" value="關(guān)鍵績效指標(biāo)KPI" type="text" /></td>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <td class="detailtitle" nowrap="nowrap" align="center"><input id="$label8570$" class="Label" name="label8570" value="指標(biāo)類型" type="text" /></td>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <td class="detailtitle" nowrap="nowrap" align="center"><input id="$label8571$" class="Label" name="label8571" value="定義/要求" type="text" /></td>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <td class="detailtitle" nowrap="nowrap" align="center"><input id="$label8572$" class="Label" name="label8572" value="權(quán)重" type="text" /></td>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <td class="detailtitle" nowrap="nowrap" align="center"><input id="$label8573$" class="Label" name="label8573" value="目標(biāo)值" type="text" /></td>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <td class="detailtitle" nowrap="nowrap" align="center"><input id="$label8574$" class="Label" name="label8574" value="下限值" type="text" /></td>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <td class="detailtitle" nowrap="nowrap" align="center"><input id="$label8575$" class="Label" name="label8575" value="計(jì)算方式" type="text" /></td>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <td class="detailtitle" nowrap="nowrap" align="center"><input id="$label8576$" class="Label" name="label8576" value="實(shí)際完成情況" type="text" /></td>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <td class="detailtitle" nowrap="nowrap" align="center"><input id="$label8577$" class="Label" name="label8577" value="得分" type="text" /></td>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <td class="detailtitle" nowrap="nowrap" align="center"><input id="$label8578$" class="Label" name="label8578" value="領(lǐng)導(dǎo)審核" type="text" /></td>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <td class="detailtitle" nowrap="nowrap" align="center"><input id="$label8579$" class="Label" name="label8579" value="備注" type="text" /></td>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? </tr>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <tr>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <td class="detailtable detailtableTD"><input id="$field8569$" class="InputStyle" name="field8569" value="[可編輯]關(guān)鍵績效指標(biāo)KPI" type="text" /></td>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <td class="detailtable detailtableTD"><input id="$field8570$" class="InputStyle" name="field8570" value="[可編輯]指標(biāo)類型" type="text" /></td>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <td class="detailtable detailtableTD"><input id="$field8571$" class="InputStyle" name="field8571" value="[可編輯]定義/要求" type="text" /></td>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <td class="detailtable detailtableTD"><input id="$field8572$" class="InputStyle" name="field8572" value="[可編輯]權(quán)重" type="text" /></td>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <td class="detailtable detailtableTD"><input id="$field8573$" class="InputStyle" name="field8573" value="[可編輯]目標(biāo)值" type="text" /></td>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <td class="detailtable detailtableTD"><input id="$field8574$" class="InputStyle" name="field8574" value="[可編輯]下限值" type="text" /></td>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <td class="detailtable detailtableTD"><input id="$field8575$" class="InputStyle" name="field8575" value="[可編輯]計(jì)算方式" type="text" /></td>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <td class="detailtable detailtableTD"><input id="$field8576$" class="InputStyle" name="field8576" value="[可編輯]實(shí)際完成情況" type="text" /></td>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <td class="detailtable detailtableTD"><input id="$field8577$" class="InputStyle" name="field8577" value="[可編輯]得分" type="text" /></td>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <td class="detailtable detailtableTD"><input id="$field8578$" class="InputStyle" name="field8578" value="[只讀]領(lǐng)導(dǎo)審核" type="text" /></td>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <td class="detailtable detailtableTD"><input id="$field8579$" class="InputStyle" name="field8579" value="[只讀]備注" type="text" /></td>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? </tr>? ? ? ? ? ? ? ? ? ? ? ? ? ? </tbody>? ? ? ? ? ? ? ? ? ? ? ? </table>? ? ? ? ? ? ? ? ? ? ? ? </td>? ? ? ? ? ? ? ? ? ? </tr>? ? ? ? ? ? ? ? </tbody>? ? ? ? ? ? </table>? ? ? ? ? ? <table>? ? ? ? ? ? ? ? <colgroup><col width="10%"></col><col width="20%"></col><col width="10%"></col><col width="20%"></col></colgroup>? ? ? ? ? ? ? ? <tbody>? ? ? ? ? ? ? ? ? ? <tr>? ? ? ? ? ? ? ? ? ? ? ? <td class="detailtable detailtableTD"><input id="$label8639$" class="Label" name="label8639" value="個(gè)人得分合計(jì)" type="text" /></td>? ? ? ? ? ? ? ? ? ? ? ? <td class="detailtable detailtableTD"><input id="$field8639$" class="InputStyle" name="field8639" value="[可編輯]個(gè)人得分合計(jì)" type="text" /></td>? ? ? ? ? ? ? ? ? ? ? ? <td class="detailtable detailtableTD"><input id="$label8640$" class="Label" name="label8640" value="領(lǐng)導(dǎo)得分合計(jì)" type="text" /></td>? ? ? ? ? ? ? ? ? ? ? ? <td class="detailtable detailtableTD"><input id="$field8640$" class="InputStyle" name="field8640" value="[只讀]領(lǐng)導(dǎo)得分合計(jì)" type="text" /></td>? ? ? ? ? ? ? ? ? ? </tr>? ? ? ? ? ? ? ? </tbody>? ? ? ? ? ? </table>? ? ? ? ? ? </td>? ? ? ? </tr>? ? </tbody></table><script language="javascript">//detailFieldTable8571獲取明細(xì)表行數(shù)(包括表頭)var dft = document.getElementById("detailFieldTable8571");//alert(dft.rows.length);dfd("field8569");dfd("field8571");dfd("field8572");dfd("field8573");dfd("field8574");dfd("field8575");function dfd(field){//遍歷每一行,總數(shù)減一就行了//alert(dft.rows.length);for(var i=0;i<dft.rows.length-1;i++){var yq = document.getElementById(field+"_"+i);var yqspan = document.getElementById(field+"_"+i+"span");yq.style.display = "none";yqspan.innerHTML = yq.value;}}function qz(){? ? for(var i=0;i<dft.rows.length-1;i++){? ? ? ? var qzz = document.getElementById("field8572_"+i);? ? ? ? var df = document.getElementById("field8577_"+i);? ? alert("qzz");? ? }? ? ?var qz=document.getElementById("detailFieldTable8572").value;? ? ? ? ?var ?dfx[i]= parsenlnt(qzz) * parsenlnt(df);? ? ? ? document.getElementById("detailFieldTable8639").innerHTML = dfx[i]++;}我寫了一部分 ?不知道哪里錯(cuò)誤了 !求指點(diǎn)!
查看完整描述

1 回答

?
杰杰就是我

TA貢獻(xiàn)32條經(jīng)驗(yàn) 獲得超24個(gè)贊

var?dft?=?document.getElementById("detailFieldTable8571");??這個(gè)id找不到


查看完整回答
反對 回復(fù) 2016-12-07
  • 1 回答
  • 0 關(guān)注
  • 2759 瀏覽
慕課專欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號