• web 界面设计---js设置txt值


    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>无标题文档</title>
    <script type="text/javascript">
    function valueUpdate(obj)
    {
        document.getElementById('text').value=obj.value;
    }
    function setCMD(obj){
        document.getElementById('remoteCMD').value = obj.value;
    }
    </script>

    </head>

    <body>
    <input type="text" id="text" value="123" />
    <input type="button" value="HelloWorld" name="btn" id="btn" onclick="valueUpdate(this)"/>

    <table>
        <tr>
        <td>&nbsp; <input type="text" value="ipconfig" id="remoteCMD"> <br>
        &nbsp; <input type="radio" value="ipconfig" name="CMD" onclick="setCMD(this)" id="cmd">查看网络状态 <br>
        &nbsp; <input type="radio" value="dir" name="CMD" id="cmd" onclick="setCMD(this)">查看目录 <br>
        &nbsp; <input type="radio" value="netuser" name="CMD" id="cmd" onclick="setCMD(this)">查看用户 <br>
        &nbsp; <input type="radio" value="adduser" name="CMD" id="cmd" onclick="setCMD(this)">添加用户 <br>
        </td> 
            </tr>
        </table>
    </body>
    </html>

    http://blog.163.com/haohengzhen@126/blog/static/76137910200911244151502/

    http://www.csdn.net/article/2013-02-25/2814245-20-best-front-end-framework 前端框架

    六大设计模式:

    http://blog.163.com/haohengzhen@126/blog/static/76137910201401324750319/

    http://blog.csdn.net/zhengzhb/article/details/7278174

  • 相关阅读:
    2018.9.22 Bubble Cup 11-Finals(Online Mirror,Div.2)
    2018.9.21 Codeforces Round #511(Div.2)
    2018.9.20 Educational Codeforces Round 51
    解题:USACO12OPEN Bookshelf
    解题:CF983B pyramid
    1214. 许可证密钥格式
    1212. 最大连续1的个数
    1270. 勒索信
    1250. 第三大的数
    1218. 补数
  • 原文地址:https://www.cnblogs.com/pengkunfan/p/4031397.html
Copyright © 2020-2023  润新知