zoukankan      html  css  js  c++  java
  • Jquery UI Dialog 和 .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>
  • 相关阅读:
    Xtreme9.0
    Xtreme8.0
    Xtreme8.0
    Xtreme8.0
    Xtreme9.0
    Xtreme8.0
    IEEEXtreme Practice Community Xtreme9.0
    MySQL添加用户、删除用户与授权
    程序员进阶之路—如何独当一面
    PowerDesigner版本控制器设置权限
  • 原文地址:https://www.cnblogs.com/colder/p/1926584.html
Copyright © 2011-2022 走看看