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>
  • 相关阅读:
    React+Redux仿Web追书神器
    关于贝塞尔曲线的故事
    420小时学习代码之后:如何教你免费自学Python
    学问Chat UI(3)
    学问Chat UI(1)
    Binder进程间通信详解
    Handler源码分析
    学问Chat UI(4)
    WebPack错误集
    React问题集序
  • 原文地址:https://www.cnblogs.com/colder/p/1926584.html
Copyright © 2011-2022 走看看