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>SelectTree 弹出选择树</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>SelectTree 弹出选择树</h1>     

            <input id="btnEdit1" class="mini-buttonedit" onbuttonclick="onButtonEdit"/>           

    <script type="text/javascript">        

        mini.parse();

             function onButtonEdit(e) {            

          var btnEdit = this;            

          mini.open({                

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

            showMaxButton: false,                

            title: "选择树",                

             350,                

            height: 350,                

            ondestroy: function (action) {                                       

              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.text);                        

                 }                    

              }                

            }            

          });                                

        }       

        </script>    

      <div class="description">        

      <h3>Description</h3>            

      </div>

    </body>

    </html>

  • 相关阅读:
    IIS无法加载字体文件(*.woff,*.svg)的解决办法
    windows server 2012 r2 安装IIS失败
    ASP.NET Core文件上传、下载与删除
    VS2015打开特定项目就崩溃
    sql server优化思路
    Asp.net Core中使用Session
    ABP之动态WebAPI
    web.xml和@WebServlet
    同一个页面 andriod和ios设备上的按钮颜色不一致
    地址中如果含有"+",发给服务器时"+"变成了空格问题解析
  • 原文地址:https://www.cnblogs.com/szqblog/p/3270502.html
Copyright © 2011-2022 走看看