本文介绍了Bootstrap的JavaScript需要jQuery 1.9.1或更高版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的代码中包含所有必需的文件,但我仍然收到此错误:
I have all necessary files in my code and I am still getting this error:
这是我的代码:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src='//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js'></script>
<script src="js/jquery.responsiveiframe.js"></script>
<script src="js/ios-orientationchange-fix.js"></script>
之前有人遇到此错误吗?我可以尝试下载本地副本而不是使用CDN链接,但这真的没必要,而且我想知道为什么这不起作用!
Anyone got this error before? I could try and download a local copy instead of using the CDN link but it's really unnecessary, plus i want to know why this isn't working!
编辑:我我尝试了很多不同的库,我发布的那个是我试过的最后一个库
I've tried many different libraries, the one I posted is the last one I've tried
推荐答案
输入 $。fn.jquery
在您的控制台中,告诉我们它说的是什么号码。你可能有第二个版本在某个地方运行。
Type $.fn.jquery
in your console and tell us what numbers it says. You probably have a second version running somewhere.
这篇关于Bootstrap的JavaScript需要jQuery 1.9.1或更高版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!