zoukankan      html  css  js  c++  java
  • html简易计算器的前端代码

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>无标题文档</title>
    <script type="text/javascript">

    function connectionDigital(control)
    {
    var txt = document.getElementById('txtScream');
    }

    </script>
    </head>

    <body>


    <table width="138" border="1">
     <tr width="200">
     <td height="30" colspan="4"><input type="text" name="txtScream" id="txtScream" style="130px; height:25px;border-style:none; text-align:right;" readonly="readonly" /></td>
     </tr>
      <tr>
        <td width="24"><input name="1" type="button" id="1" value ="1" onclick="connectionDigital(this)"/></td>
        <td width="30"><input name="2" type="button" id="2" value ="2" onclick="connectionDigital(this)"/></td>
        <td width="31"><input name="3" type="button" id="3" value ="3" onclick="connectionDigital(this)"/></td>
        <td width="25"><input name="+" type="button" id="+" value ="+" onclick="connectionDigital(this)"/></td>
      </tr>
      <tr>
        <td><input name="4" type="button" id="4" value ="4" onclick="connectionDigital(this)"/></td>
        <td><input name="5" type="button" id="5" value ="5" onclick="connectionDigital(this)"/></td>
        <td><input name="6" type="submit" id="6" value ="6" onclick="connectionDigital(this)"/></td>
        <td><input name="-" type="button" id="-" value ="-" onclick="connectionDigital(this)"/></td>
      </tr>
      <tr>
        <td><input name="7" type="button" id="7" value ="7" onclick="connectionDigital(this)"/></td>
        <td><input name="8" type="button" id="8" value ="8" onclick="connectionDigital(this)"/></td>
        <td><input name="9" type="button" id="9" value ="9" onclick="connectionDigital(this)"/></td>
        <td><input name="*" type="button" id="*" value ="*" /></td>
      </tr>
      <tr>
        <td><input name="0" type="button" id="0" value ="0" onclick="connectionDigital(this)"/></td>
        <td colspan="2"><input name="=" type="button" id="=" value ="=" /></td>
        <td><input name="/" type="button" id="/" value ="/" /></td>
      </tr>
    </table>
    <p>&nbsp;</p>

    </body>
    </html>

  • 相关阅读:
    SQLdiag-配置文件-ProfilerCollector
    SQLdiag-配置文件-PerfmonCollector
    SQLdiag-初识
    Trace-跟踪高消耗的语句需添加哪些事件
    RML Utilities for SQL Server
    【译】第十五篇 Integration Services:SSIS参数
    修改数据文件和日志文件路径
    Trace-导出已有的服务器端跟踪
    iphoneX的适配问题
    添加阿里巴巴图标,让你页面小图标都是CSS3写成
  • 原文地址:https://www.cnblogs.com/helloaworld/p/5498103.html
Copyright © 2011-2022 走看看