开启jquery?
我有网站 A: http://dl.dropbox.com/u /3264697/calc/v2/index.html 它正在按预期工作,100%。
我有网站 B: http://pe2kasb.net63.net/ 它没有按预期工作。网站B是A的文件镜像的文件。
我想,这是主机的问题。查看 Javascript 控制台,错误似乎与主机有关:
屏幕截图此处 http: //img825.imageshack.us/img825/4782/unlednwe.png
我需要联系他们,或者我可以做些什么......?我是 JQuery 的新手,我相信这就是问题的根源,但是......我不确定。
I have website A: http://dl.dropbox.com/u/3264697/calc/v2/index.html
It is working as intended, 100%.
I have website B: http://pe2kasb.net63.net/
It is not working as intended. Website B is a file for file mirror of A.
I assume then, this is something wrong with the host. Looking at the Javascript console, the error appears to be related to the host:
screenshot here http://img825.imageshack.us/img825/4782/unlednwe.png
Need I contact them, or is there something I can do...? I'm new to JQuery, and I believe that's what is the root of the issue but... i'm not sure.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
您正在尝试从
../v2/media/js/jquery.js
加载 jQuery,但第二个网站中没有此类文件。我建议您不要自己托管 JQuery,而是使用托管版本:
这篇文章解释了原因。
You are trying to load jQuery from
../v2/media/js/jquery.js
but there is no such file in the second website.I recommend that instead of hosting JQuery yourself, you use a hosted version:
This post explains the reasons.
您在 http://pe2kasb.net63.net/ 处的 jQuery 路径无效,
替换
为
Also you have dataTable.js丢失的。
You have invalid jQuery path at http://pe2kasb.net63.net/
Replace
with
Also you have dataTable.js missing.
您正在从
../v2/media/js/jquery.js
加载 JQuery,该 JQuery 似乎不存在...为了解决该问题并提高网站速度,
要从 Google 加载 JQuery,您只需使用:
更多信息 此处
编辑:请注意,上面会自动加载 JQuery 的缩小版本。如果出于某种原因(?)您想加载可以使用的未压缩版本
You are loading JQuery from
../v2/media/js/jquery.js
which does not seem to exist...To solve the issue and improve the speed of the website
To load JQuery from Google you can just use:
More information here
EDIT: note that the above automatically loads the minified version of JQuery. If, for whatever reason (?) you wanted to load the uncompressed version you could use
看看http://pe2kasb.net63.net/v2/media/js/jquery .js 指的是。
该文件不存在。
上传它或从其他位置包含它。
Look what http://pe2kasb.net63.net/v2/media/js/jquery.js refers to.
The file does not exist.
Upload it or include it from another location.
确保 jQuery 正确链接,目前 jQuery 应该位于“http://pe2kasb.net63.net/”上的“../v2/media/js/jquery.js”,这意味着返回一个文件夹然后输入“/v2/media/js/jquery.js”。
Make sure that jQuery is correctly linked, currently jQuery is supposed to be at "../v2/media/js/jquery.js" on "http://pe2kasb.net63.net/", which means go back one folder then enter "/v2/media/js/jquery.js".