• 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

  • 相关阅读:
    .net 2.0 使用linq
    重建索引解决mssql表查询超时的问题
    倾斜摄影自动化建模成果的数据组织和单体化
    cesium导入3D模型(obj转gltf)
    github
    JSP转发和重定向的区别
    mysql压缩版的安装教程
    JSP内置对象
    运行jsp常犯的错误
    递归的几个demo
  • 原文地址:https://www.cnblogs.com/pengkunfan/p/4031397.html
Copyright © 2020-2023  润新知