在Firefox 4的JQuery未定义和$未定义错误 [英] JQuery Undefined and $ Undefined Errors in Firefox 4

查看:212
本文介绍了在Firefox 4的JQuery未定义和$未定义错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我做了一些工作,为客户和他们的Firefox 4版本越来越JQuery的不确定的错误,而我的Firefox 4的版本是罚款。这是观看完全相同的网页(在线托管),当!无论我的机器和客户端上的其他浏览器的罚款。

I am doing some work for a client and their version of Firefox 4 is getting JQuery undefined errors, whereas my version of Firefox 4 is fine. This is when viewing the exact same page (hosted online)! Every other browser on both my machine and the clients is fine.

没有人有任何想法,为什么会发生这种情况?难道是一个缓存的问题? JavaScript是在浏览器上启用了肯定。

Does anyone have any thoughts as to why this could happen? Could it be a caching issue? Javascript is definitely enabled on the browser.

编辑:这是从哪儿jQuery的文件加载试图控制台日志:

Here is the log from the console where the jquery file load is attempted:

https://ajax.googleapis.com /ajax/libs/jquery/1.7.1/jquery.min.js [HTTP / 1.0 200已建立的连接234ms]

GET https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js [HTTP/1.0 200 Connection established 234ms]

是'连接确立'意味着该文件被加载?或者,我应该期待一个OK的反应?

Does 'connection established' mean that the file is loaded? Or should I be expecting an 'OK' response?

推荐答案

您加载的jQuery的本地拷贝(而不是一个CDN的说),这本地副本是不是在客户端的计算机?

Are you loading a local copy of jQuery (instead of say a CDN) and this local copy is not in the client's computer?

这篇关于在Firefox 4的JQuery未定义和$未定义错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆