2
回答
请大家帮忙看看这个jquery调试dialog的问题。即不报错,也不出来。。。
注册华为云得mate10,2.9折抢先购!>>>   

各位 ,jquery调试太困难了。请大家帮忙看看在那出的问题。

 

 

<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=7.5">
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<title></title>
    <!--  -->   

      <link rel="stylesheet" type="text/css" href="/clickDemo/assets/style.css" title="Style"/>
     <link rel="stylesheet" type="text/css" href="/clickDemo/assets/css/syntax-highlighter.css"/>
     <script type="text/javascript" src="/clickDemo/assets/js/syntax-highlighter.js"></script>
     
        <link href="/clickDemo/click/control.css" rel="stylesheet" type="text/css"/>

<link href="/clickDemo/click/menu.css" rel="stylesheet" type="text/css"/>
<link href="/clickDemo/assets/js/jqueryui/themes/sunny/jquery.ui.all.css" rel="stylesheet" type="text/css"/>

  </head>

<body>

<div class="page">
  <div class="header">
      <div class="title-left">
       
       
    </div>
 
 
           
      </div>


 <div class="content" >
<p></p>
<p></p>

<table width="95%">
<tr>
 <td align="center">  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>myUI.html</title>

   
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
   
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->

  </head>
 
  <body>
    This is my HTML page. <br><br><br><form method="post" name="HtmlForm" id="HtmlForm" action="/clickDemo/page/myUI.htm">
<input type="hidden" name="form_name" id="HtmlForm_form_name" value="HtmlForm"/>

<input type="hidden" name="bypass_validation" id="HtmlForm_bypass_validation" value="false"/>
<table class="form" id="HtmlForm-form"><tbody>
<tr><td>
<table class="fields" id="HtmlForm-fields"><tbody>
<tr class="fields">
<td class="fields" align="left"><label for="HtmlForm_name">name</label><span class="required">*</span></td>
<td align="left"><input type="text" name="name" id="HtmlForm_name" value="dsdf" size="20" title="name|name "/></td>
</tr>
</tbody></table>
</td></tr>
<tr><td align="left">
<table class="buttons" id="HtmlForm-buttons"><tbody>
<tr class="buttons"><td class="buttons"><input type="submit" name="form-sub" id="HtmlForm_form-sub" value="show dialog"/></td></tr>
</tbody></table>
</td></tr>

</tbody></table>
</form>
 
<br>
  </body>
</html>
</td></tr>
</table>
 

  </div>

<script src="/clickDemo/click/control.js" type="text/javascript"></script>
<!--[if lt IE 7]>
<script src="/clickDemo/click/menu-fix-ie6.js" type="text/javascript"></script>
<![endif]-->
<script src="/clickDemo/assets/js/jqueryui/jquery-1.6.2.js" type="text/javascript"></script>

<script src="/clickDemo/assets/js/jqueryui/external/jquery.bgiframe-2.1.2.js" type="text/javascript"></script>
<script src="/clickDemo/assets/js/jqueryui/ui/jquery.ui.core.js" type="text/javascript"></script>
<script src="/clickDemo/assets/js/jqueryui/ui/jquery.ui.widget.js" type="text/javascript"></script>
<script src="/clickDemo/assets/js/jqueryui/ui/jquery.ui.mouse.js" type="text/javascript"></script>
<script src="/clickDemo/assets/js/jqueryui/ui/jquery.ui.draggable.js" type="text/javascript"></script>
<script src="/clickDemo/assets/js/jqueryui/ui/jquery.ui.position.js" type="text/javascript"></script>
<script src="/clickDemo/assets/js/jqueryui/ui/jquery.ui.resizable.js" type="text/javascript"></script>
<script src="/clickDemo/assets/js/jqueryui/ui/jquery.ui.dialog.js" type="text/javascript"></script>
<!--[if lt IE 7]>
<script id="rootMenu-js-setup" type="text/javascript">
Click.addLoadEvent(function(){
 if(typeof Click != 'undefined' && typeof Click.menu != 'undefined') {
   if(typeof Click.menu.fixHiddenMenu != 'undefined') {
     Click.menu.fixHiddenMenu("rootMenu");
     Click.menu.fixHover("rootMenu");
   }
 }
});
</script>
<![endif]-->

<script type="text/javascript">
$(function(){$('#jquery-dialog').dialog({buttons:{Ok:function(){$(this).dialog('close');location='/clickDemo/page/myUI.htm?actionLink=okLink'},Cancel:function(){$(this).dialog('close');}}});})
</script>

</body>
</html>

举报
孟拯
发帖于6年前 2回/948阅
顶部