zoukankan      html  css  js  c++  java
  • jquery UI dialog 和 asp.net 控件 出错 失效

    代码
    <script type="text/jscript" src="http://www.cnblogs.com/js/jquery-1.4.2.min.js"></script>
        <script type="text/jscript" src="http://www.cnblogs.com/js/jqueryUI/js/jquery-ui-1.8.4.custom.min.js"></script>
        <script type="text/jscript">
          $(document).ready(
              
    function() 
              {
                 $(
    "#showCourseDiv").dialog
                 ({autoOpen: 
    false,
                    height: 
    200,
                     
    400,
                    modal: 
    true,    
                  });

              }
          );

            
    function ShowDiv(gid)
            {
                    $(
    "#hfGroupId").val(gid);
                   //dilog默认会把弹出框层,追加到body上面.但asp.net需要控件都在form中.
                    $("#showCourseDiv").parent().appendTo($("form:first")); 
                    $(
    "#showCourseDiv").dialog('open');

             
            }
        
    </script>

    蝗虫的大腿--windows phone 平台的坚定支持者!

  • 相关阅读:
    vue2 生命周期
    javascript http库axios
    vue2自定义事件之$emit
    php配置rewrite模块
    php 正则匹配中文(转)
    php常用自定义函数
    Mysql----MySQL的mysql_insert_id和LAST_INSERT_ID(转)
    Mysql----mysql启动服务时提示"服务名无效"
    div+css布局
    php常见问题以及解决方法
  • 原文地址:https://www.cnblogs.com/beyoung/p/1811062.html
Copyright © 2011-2022 走看看