Bootstrap引发未捕获的错误:Bootstrap的JavaScript需要jQuery [英] Bootstrap throws Uncaught Error: Bootstrap's JavaScript requires jQuery
本文介绍了Bootstrap引发未捕获的错误:Bootstrap的JavaScript需要jQuery的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用Bootstrap为程序创建接口.我在<head>
标记中添加了jQuery 1.11.0,并认为是这样,但是当我在浏览器中启动网页时,jQuery报告了一个错误:
I am trying to use Bootstrap to make an interface for a program. I added jQuery 1.11.0 to the <head>
tag and thought that was that, but when I launch the web page in a browser jQuery reports an error:
Uncaught Error: Bootstrap's JavaScript requires jQuery
我已经尝试过使用jQuery 1.9.0,也曾尝试过在多个CDN上托管的副本,但是我无法使其正常工作.有人可以指出我在做什么错吗?
I have tried using jQuery 1.9.0, I have tried with copies hosted on several CDNs, but I can't get it work. Can anybody point out what I'm doing wrong?
推荐答案
尝试一下
更改文件的顺序,如下所示.
Change the order of files it should be like below..
<script src="js/jquery-1.11.0.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/wow.min.js"></script>
这篇关于Bootstrap引发未捕获的错误:Bootstrap的JavaScript需要jQuery的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文