2011-08-10 34 views
0

这里面工作过,现在变成了一个jQuery错误的HTML页面。自从最后一次工作以来,我创建了一个新的用户帐户,并尝试将PC设置为pc ad hoc无线网络。奇怪的是,这些会产生影响。jQuery的在Windows 7未定义的错误IIS 7的PC

标签图书馆。

<link rel="stylesheet" href="http://jqueryui.com/themes/base/jquery.ui.all.css"> 
<script src="http://jqueryui.com/jquery-1.5.1.js"></script> 
<script src="http://jqueryui.com/ui/jquery.ui.core.js"></script> 
<script src="http://jqueryui.com/ui/jquery.ui.widget.js"></script> 
<script src="http://jqueryui.com/ui/jquery.ui.mouse.js"></script> 
<script src="http://jqueryui.com/ui/jquery.ui.resizable.js"></script> 
<script src="http://jqueryui.com/ui/jquery.ui.draggable.js"></script> 

的错误是

Webpage error details 

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; Tablet PC 2.0) 
Timestamp: Wed, 10 Aug 2011 16:03:33 UTC 


Message: 'jQuery' is undefined 
Line: 10 
Char: 1 
Code: 0 
URI: http://jqueryui.com/ui/jquery.ui.core.js 


Message: 'jQuery' is undefined 
Line: 10 
Char: 1 
Code: 0 
URI: http://jqueryui.com/ui/jquery.ui.widget.js 


Message: 'jQuery' is undefined 
Line: 13 
Char: 1 
Code: 0 
URI: http://jqueryui.com/ui/jquery.ui.mouse.js 


Message: 'jQuery' is undefined 
Line: 15 
Char: 1 
Code: 0 
URI: http://jqueryui.com/ui/jquery.ui.resizable.js 


Message: 'jQuery' is undefined 
Line: 15 
Char: 1 
Code: 0 
URI: http://jqueryui.com/ui/jquery.ui.draggable.js 
+0

检查您是否缺少jquery,尝试从外部获取它,否则就像您使用jqueryui一样。 – atzu

+0

你可以在网页上发布''和任何'' – stslavik

+0

@atzu的库从jquery.com,我编辑原始消息。 – user823527

回答

0

这是正确的行为。只需检查您的文件中的路径jquery源代码 - 它被设置为jqueryUI网站。

http://jqueryui.com/jquery-1.5.1.js 

更好的想法(如stslavik建议)使用CDN存储库之一。有关详细信息,请查看jQuery文档页面:

http://docs.jquery.com/Downloading_jQuery#CDN_Hosted_jQuery 
+0

引用谷歌CDN解决了这个问题。 – user823527