日期:2014-05-16  浏览次数:20416 次

页面计算的问题
JScript code

<form id="newForm" name="newForm">

<table width="65%" align="center" class="t1" border="1" cellspacing="0" cellpadding="0" id='newtable'>



<tr>
    <th nowrap="nowrap" colspan="8" width="65%" background="<c:url value="/images/head.gif"/>"><font
            color="blue" size="2">一炼铁部</font></th>
</tr>
<tr>
    <th nowrap="nowrap" width="8%" background="<c:url value="/images/head.gif"/>"><font
            size="2">1#入炉烧结矿</font></th>
    <td nowrap="nowrap" width="8%" align="center"><font size="2"><input type="text" id="ylt_rlsjk1" name="ylt_rlsjk1"
                                                                        value="${yjrbph.ylt_rlsjk1}"
                                                                        onafterpaste="value=value.replace(/[^\d\.]/g,'')"
                                                                        style="width:80px;text-align:right"
                                                                        onfocus="javascript:this.select();"
                                                                        onblur="on_blur(this.value,this.id)"
                                                                        onkeydown="kuanghao(this.value,this.id)"
                                                                        onkeyup="on_keypress('ylt_rlets1');"></font>
    </td>
    
</tr>

<tr>
    <th nowrap="nowrap" width="8%" background="<c:url value="/images/head.gif"/>"><font
            size="2">1#入炉二铁烧</font></th>
    <td nowrap="nowrap" width="8%" align="center"><font size="2"><input type="text" id="ylt_rlets1" name="ylt_rlets1"
                                                                        value="${yjrbph.ylt_rlets1}"
                                                                        onafterpaste="value=value.replace(/[^\d\.]/g,'')"
                                                                        style="width:80px;text-align:right"
                                                                        onfocus="javascript:this.select();"
                                                                        onblur="on_blur(this.value,this.id)"
                                                                        onkeydown="kuanghao(this.value,this.id)"
                                                                        onkeyup="on_keypress('ylt_rlzcq1');"></font>
    </td>
    
</tr>

<tr>
    <th nowrap="nowrap" width="8%" background="<c:url value="/images/head.gif"/>"><font
            size="2">1#入炉自产球</font></th>
    <td nowrap="nowrap" width="8%" align="center"><font size="2"><input type="text" id="ylt_rlzcq1" name="ylt_rlzcq1"
                                                                        value="${yjrbph.ylt_rlzcq1}"
                                                                        onafterpaste="value=value.replace(/[^\d\.]/g,'')"