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 平台的坚定支持者!

原文地址:https://www.cnblogs.com/beyoung/p/1811062.html