急急!!!!!
   第一次使用jQuery 
   在网上下载的点击登录弹出登录窗体的例子, 但是我把内容全复制到我新建的asp.net网站上面运行,一直都只弹出窗体,上面什么控件都没有, 而且一直警告 “更新javascript Intellisense时出错 ”
    是什么原因造成的? 怎么解决!! 

解决方案 »

  1.   

    引用JS 文件了。 而且路径也是对的
    这是我需要弹出的窗体里面的代码
    <body>
        <form id="form1" runat="server">
        <div>
            <asp:Label ID="Label1" runat="server" Text="用户名"></asp:Label>
            &nbsp;&nbsp;&nbsp;&nbsp;
            <asp:TextBox ID="txtUserName" runat="server"></asp:TextBox><br />
            <asp:Label ID="Label2" runat="server" Text="密码"></asp:Label>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:TextBox ID="txtPwd" runat="server"></asp:TextBox><br />
            <asp:Label ID="Label3" runat="server" Text="确认密码"></asp:Label>
            &nbsp;<asp:TextBox ID="txtPwdA" runat="server"></asp:TextBox><br />
            <asp:Label ID="Label4" runat="server" Text="验证码"></asp:Label>
            &nbsp;&nbsp;&nbsp;&nbsp;
            <asp:TextBox ID="txtYzm" runat="server"></asp:TextBox>
            <br />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Button ID="Button1" runat="server" Text="Button" />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Button ID="Button2" runat="server" Text="Button" />
        </div>
        </form>
    </body>
    这个是调用的窗体
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head id="Head1" runat="server">
        <title>用户验证</title>    <script type="text/javascript" src="js/jquery.js"></script>    <script type="text/javascript" src="js/thickbox_plus.js"></script>    <link rel="stylesheet" type="text/css" href="css/thickbox.css" />
    </head>
    <body>
        <form id="form1" runat="server">
        <div id="login">
            <a  href="Default2.aspx?height=320;width=400" title="应聘该职位并投递简历" class="thickbox"> aaaaaaaaaaaaaa </a>
        </div>
        </form>
    </body>
    </html>
    就是超链接那个位置 的class="thickbox" 这里找不到thickbox
      

  2.   

    你从另外一个地方粘贴过来的源码,很难一次通过,可能需要手动修改一些源码
    建议使用jquery弹出层插件,这样就有复用性,而且易用!
      

  3.   

    Lz你是真2 啊? 还是傻子啊? 你贴了半天没贴JQUERY里面的方法出来  我 晕
      

  4.   

    你的jQuery  什么版本?
      

  5.   


    请打开 jQuery-1.3.2-vsdoc.js  
    将其中一段view plaincopy to clipboardprint?
    elem = jQuery.makeArray( div.childNodes );  
    替换成
    view plaincopy to clipboardprint?
    if (div && div.childNodes) elem = jQuery.makeArray( div.childNodes );  
    再重新 点选 "编辑”/“IntelliSense”/”更新JScript IntelliSense”
    完工
      

  6.   

    http://xoyozo.me/blog/jquery-jscript-intellisense.html
      

  7.   

      没看到说是第一次用jQuery?   我怎么知道要贴那里面的
      

  8.   

    jwindow弹出登录窗体
    OnClientClick=<%# "OpenWindow('','','');return false;"%>
    jwindow
    function OpenWindow(id,width,height)
    {
      var url = "a.aspx";
      OpenJWindow('#openwin', url, width,height, EditClosed);
    }
    http://hi.baidu.com/xrszx/blog/item/8b86eef2471b1f18b07ec5b8.html
      

  9.   


    jQuery 是 jquery-1.3.1.js