标题:如何输入值后按TAB键就算合计,并写合计大写??谢谢!
取消只看楼主
qjw9004
Rank: 1
等 级:新手上路
帖 子:89
专家分:0
注 册:2011-1-27
结帖率:47.37%
 问题点数:0 回复次数:2 
如何输入值后按TAB键就算合计,并写合计大写??谢谢!
程序代码:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=biaoji%>-现付申请单更改-</title>
<style type="text/css">
td        { font-size: 9pt; line-height: 14pt}
a:link    {color: #0080FF; text-decoration: none }
a:visited {color: #0080FF; text-decoration: none }
a:hover   {color: #ee9c00; text-decoration: underline }
</style>
</head>
<body bgproperties="fixed" background="images/bg01.gif">
<div align="center">          
  <center>                  
<table border="0" width="800" cellpadding="0" cellspacing="0" background="images/frist.jpg" style="border-collapse: collapse" bordercolor="#111111" height="120">          
  <tr>                     
    <td width="100%" align="center" valign="middle"><font size="3px" color="red"><%=biaoji%><p>-现付申请单更改-</p></font></td>          
  </tr>          
</table>                  
  </center>
</div> 

<div>
  <center>                  
  <table border="0" width="800" bgcolor="#CACAFF" cellspacing="0" cellpadding="6" style="border:1px dotted #0000FF; border-collapse: collapse; color:#0000FF; background-color:#CACAFF" bordercolor="#111111" height="20">          
</table>                  
  </center>
</div>
<div  id="pc" align="center">          
  <center>          
  <table border="0" width="800" bgcolor="#CACAFF" cellspacing="0" cellpadding="6" style="border:1px dotted #0000FF; border-collapse: collapse; color:#0000FF; background-color:#CACAFF" bordercolor="#111111">          
    <tr>          
      <td width="100%">


   <table border="0" width="100%" cellpadding="0" style="border-collapse: collapse; border: 1px dotted #A4A4FF" bordercolor="#111111" cellspacing="0">
     <!--DWLayoutTable-->
        <form action="pc_list_do.asp?id=<%=request.querystring("id")%>&<%=request.querystring("bm")%>&<%=request.querystring("username")%>" method="post">
      <tr>
        <td width="61" rowspan="13" align="right"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td width="49" align="left">NO:</td>
        <td align="right"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td width="137" align="right"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td align="right"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td colspan="3" align="right"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td width="81" align="right"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td width="68" rowspan="13" align="right"><!--DWLayoutEmptyCell-->&nbsp;</td>
      </tr>
      <tr>
        <td height="20" align="right"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td align="right"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td colspan="2" align="center">&nbsp;</td>
        <td colspan="3" align="right"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td align="right" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
        </tr>
      <tr>
        <td align="right"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td align="right"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td colspan="2" rowspan="2" align="center">现金支出(费用报销)单</td>
        <td colspan="3" align="right">&nbsp; 门:</td>
        <td width="63" align="left"><!--DWLayoutEmptyCell-->&nbsp;</td>
        </tr>
      <tr>
        <td height="18" align="right" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td align="right"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td colspan="3" align="right" valign="top">报帐人:</td>
        <td width="63" align="left"><!--DWLayoutEmptyCell-->&nbsp;</td>
        </tr>
      <tr>              
        <td height="18" align="right"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td width="15" align="right"><font color="#225ccc"></td>
        <td align="right" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td width="279" align="right"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td colspan="3" align="right"><font color="#225ccc">送达日:</td>
        <td width="63" align="left"><!--DWLayoutEmptyCell-->&nbsp;</td>
        </tr>
      <tr>              
        <td height="10" align="right" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td height="10" align="right" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td height="10" align="right" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td height="10" align="right" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td width="66" height="16" align="right" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td width="14" height="16" align="right" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td height="10" align="right" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td height="10" align="right" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
      </tr>
      <tr>              
        <td rowspan="4" align="center" style="color: #0066FF; border: 1px dotted #0000FF; background-color: #CACAFF">事由<font color="#225ccc"></td>
        <td width="15" height="20" align="center" style="color: #0066FF; border: 1px dotted #0000FF; background-color: #CACAFF">1</td>  
        <td colspan="4" align="left" ><input name="sy01" onkeydown="if(event.keyCode==13)event.keyCode=9" type="text" id="sy01" style="color: #0066FF; border: 1px dotted #0000FF; background-color: #CACAFF" size="70%" maxlength="100"></td>
        <td width="14" align="left" style="color: #0066FF; border: 1px dotted #0000FF; background-color: #CACAFF">¥:</td>
        <td align="right" valign="middle" ><input name="je01" onkeydown="if(event.keyCode==13)event.keyCode=9" type="text" id="je01" style="text-align:right;color: #0066FF; border: 1px dotted #0000FF; background-color: #CACAFF" size="10%" maxlength="100"></td>
      </tr>
      <tr>              
        <td width="15" align="center" style="color: #0066FF; border: 1px dotted #0000FF; background-color: #CACAFF">2</td>
        <td colspan="4" align="left" ><input name="sy02" onkeydown="if(event.keyCode==13)event.keyCode=9" type="text" id="sy02" style="color: #0066FF; border: 1px dotted #0000FF; background-color: #CACAFF" size="70%" maxlength="100"></td>
        <td align="left" style="color: #0066FF; border: 1px dotted #0000FF; background-color: #CACAFF">¥:</td>
        <td align="right" ><input name="je02" onkeydown="if(event.keyCode==13)event.keyCode=9" type="text" id="je02" style=" text-align:right;color: #0066FF; border: 1px dotted #0000FF; background-color: #CACAFF" size="10%" maxlength="100"></td>
      </tr>
      <tr>              
        <td width="15" align="center" style="color: #0066FF; border: 1px dotted #0000FF; background-color: #CACAFF">3</td>
        <td colspan="4" align="left" ><input name="sy03" onkeydown="if(event.keyCode==13)event.keyCode=9" type="text" id="sy03" style="color: #0066FF; border: 1px dotted #0000FF; background-color: #CACAFF" size="70%" maxlength="100"></td>
        <td align="left" style="color: #0066FF; border: 1px dotted #0000FF; background-color: #CACAFF">¥:</td>
        <td align="right" ><input name="je03" onkeydown="if(event.keyCode==13)event.keyCode=9" type="text" id="je03" style=" text-align:right;color: #0066FF; border: 1px dotted #0000FF; background-color: #CACAFF" size="10%" maxlength="100"></td>
      </tr>
      <tr>              
        <td width="15" align="center" style="color: #0066FF; border: 1px dotted #0000FF; background-color: #CACAFF">4</td>
        <td colspan="4" align="left" ><input name="sy04" onkeydown="if(event.keyCode==13)event.keyCode=9" type="text" id="sy04" style="color: #0066FF; border: 1px dotted #0000FF; background-color: #CACAFF" size="70%" maxlength="100"></td>
        <td align="left" style="color: #0066FF; border: 1px dotted #0000FF; background-color: #CACAFF">¥:</td>
        <td align="right" ><input name="je04" onkeydown="if(event.keyCode==13)event.keyCode=9" type="text" id="je04" style=" text-align:right;color: #0066FF; border: 1px dotted #0000FF; background-color: #CACAFF" size="10%" maxlength="100"></td>
      </tr>
      <tr>
        <td colspan="8" align="left" style="color: #0066FF; border: 1px dotted #0000FF; background-color: #CACAFF">合计金额(大写)¥:&nbsp;</td>
        </tr>
      <tr>              
        <td height="20" colspan="2" align="center" style="color: #0066FF; border: 1px dotted #0000FF; background-color: #CACAFF">备注:</td>
        <td colspan="6" align="left" valign="top" style="color: #0066FF; border: 1px dotted #0000FF; background-color: #CACAFF"><textarea name="bz" cols="85" rows="3" id="bz" onkeydown="if(event.keyCode==13)event.keyCode=9" style="color: #0066FF; border: 1px dotted #0000FF; background-color: #CACAFF" type="text"></textarea>
        </td>
        </tr>
      <tr>              
        <td height="16" colspan="8" align="left" valign="top">
          <p align="center">
          <input type="submit" value="提交" name="pc_send" style="border: 1px dotted #3333FF; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1; background-color: #CACAFF">                         
        </td>
        </tr>
      </form>                  
    </table>
    </td>              
    </tr>              
  </table>              
  </center>              
</div>              
<div align="center">              
  <center>                             
  <table border="0" width="800" cellpadding="0" bgcolor="#CACAFF" style="border:1px dotted #808000; border-collapse: collapse; background-color:#CACAFF" bordercolor="#111111" cellspacing="0">                                        
    <tr>                                        
      <td width="100%" bgcolor="#ebebeb" height="2"></td>                                        
    </tr>                                        
    <tr>                                        
      <td width="100%">&nbsp;                                           
      </td>                                        
    </tr>                                        
    <tr>                                        
      <td width="100%">                                        
        <p align="center"><font color="#0066FF">--<%=biaoji%>--</font></td>                                     
    </tr>                                     
  </table>                                     
                
  </center>            
</div>
</body>                
</html>
搜索更多相关主题的帖子: 如何 color 
2011-07-20 22:51
qjw9004
Rank: 1
等 级:新手上路
帖 子:89
专家分:0
注 册:2011-1-27
得分:0 
没高手支招啦!~~~???
2011-07-21 19:34
qjw9004
Rank: 1
等 级:新手上路
帖 子:89
专家分:0
注 册:2011-1-27
得分:0 
难度高了???
2011-07-23 00:23



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-345761-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.078079 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved