zoukankan      html  css  js  c++  java
  • 弹出选择:表格

    <!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>    

      <title>SelectGrid 弹出选择表格</title>    

      <meta http-equiv="content-type" content="text/html; charset=UTF-8" />

      <link href="../demo.css" rel="stylesheet" type="text/css" />

          <script src="../../scripts/boot.js" type="text/javascript"></script>        

    </head>

      <body>    

      <h1>SelectGrid 弹出选择表格</h1>     

          <input id="btnEdit1" class="mini-buttonedit" onbuttonclick="onButtonEdit" name="a" textName="b"/>           

    <script type="text/javascript">        

       mini.parse();

            function onButtonEdit(e) {            

         var btnEdit = this;            

        mini.open({                

          url: bootPATH + "../demo/CommonLibs/SelectGridWindow.html",                

          title: "选择列表",                

           650,                

          height: 380,                

          ondestroy: function (action) {                    

            //if (action == "close") return false;                    

             if (action == "ok") {                        

              var iframe = this.getIFrameEl();                        

              var data = iframe.contentWindow.GetData();                        

              data = mini.clone(data);    //必须                        

              if (data) {                            

                btnEdit.setValue(data.id);                            

                btnEdit.setText(data.name);                        

              }                    

            }

                    }            

         });                                

      }       

    </script>

        <div class="description">        

      <h3>Description</h3>            

     </div>

    </body>

    </html>

  • 相关阅读:
    如何设定测试目标
    转载:Robotium之Android控件定位实践和建议(Appium/UIAutomator姊妹篇)
    Jenkins启动时报错:java.net.BindException: Address already in use: bind 解决方法
    [转载]Robotium API 翻译(三)——判断测试结果的方法assert、is、search
    什么样的项目适合开展自动化测试
    Python基础11- 函数之自定义函数
    Python基础10- 函数之内部函数与强制转换
    Android获取APK包名的几种方法
    Python基础9- 字典
    回归测试策略
  • 原文地址:https://www.cnblogs.com/szqblog/p/3269470.html
Copyright © 2011-2022 走看看