Bootstrap不会检测jQuery 1.11.0 - 未捕获错误:Bootstrap的JavaScript需要jQuery [英] Bootstrap won't detect jQuery 1.11.0 - Uncaught Error: Bootstrap's JavaScript requires jQuery

查看:242
本文介绍了Bootstrap不会检测jQuery 1.11.0 - 未捕获错误:Bootstrap的JavaScript需要jQuery的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用Bootstrap为我正在撰写的计划创建一个界面。我添加了jQuery到< head> 标签,并认为是,但是当我在浏览器中启动网页jQuery报告错误,未捕获错误:Bootstrap的JavaScript需要jQuery 。我已经尝试使用jQuery 1.9.0,我已经尝试与托管在几个CDN上的副本,但我不能得到它的工作。 是我的html文件,这是我的目录的布局。任何人都知道我做错了什么?

I am trying to use Bootstrap to make an interface for a program I am writing. I added jQuery 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. I have tried using jQuery 1.9.0, I have tried with copies hosted on several CDNs, but I can't get it work. This is my html file, and this is the layout of my directory. Anybody know 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不会检测jQuery 1.11.0 - 未捕获错误:Bootstrap的JavaScript需要jQuery的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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