简体   繁体   English

bootstrap.js:未捕获的错误:Bootstrap的JavaScript需要jQuery 1.9.1或更高版本,但低于版本3

[英]bootstrap.js: Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3

When I use the Google Chrome Developer Tool in my web page developed using ASP.NET Core 1.0 (.NET Framework) project I detect the error: bootstrap.js: Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3 . 当我在使用ASP.NET Core 1.0(.NET Framework)项目开发的网页中使用Google Chrome开发者工具时,我检测到以下错误: bootstrap.js: Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3 Can't figure out the cause of the error. 无法找出错误原因。 The source view of my web page is as follows: 我的网页的source view如下:

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.0/themes/base/jquery-ui.css">
        <link rel="stylesheet" href="/lib/bootstrap/dist/css/bootstrap.css" />
        <link rel="stylesheet" href="/css/site.css" />
</head>
<body>
Hello world.... and other content
.....

<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
        <script src="https://code.jquery.com/ui/1.12.0/jquery-ui.js"></script>
        <script src="/lib/jquery/dist/jquery.js"></script>
        <script src="/lib/bootstrap/dist/js/bootstrap.js"></script>
        <script src="/js/site.js?v=EWaMeWsJBYWmL2g_KkgXZQ5nPe-a3Ichp0LEgzXczKo"></script>   

<!-- Visual Studio Browser Link -->
<script type="application/json" id="__browserLink_initializationData">
    {"requestId":"a5c076a64ad7453f951bb2251bd6eec3","requestMappingFromServer":false}
</script>
<script type="text/javascript" src="http://localhost:58884/74edce98fdb542fc9b4a680a345ade26/browserLink" async="async"></script>
<!-- End Browser Link -->
</body>
</html>

Except these lines 除了这些行

<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://code.jquery.com/ui/1.12.0/jquery-ui.js"></script>
<script src="/lib/jquery/dist/jquery.js"></script>

Put this line : 把这一行:

<script src="https://code.jquery.com/jquery-2.2.4.min.js" ></script>

And btw your question is duplicate I think :) 顺便说一句,我想你的问题是重复的:)

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Bootstrap 的 JavaScript 需要 jQuery 1.9.1 或更高版本,但低于版本 3 - Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3 未捕获的错误:Bootstrap的JavaScript需要jQuery 1.12.4或更高版本,但日期时间选择器低于jQuery 3。 - Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.12.4 or higher, but lower than version 3 in date time picker Bootstrap 的 JavaScript 需要 jQuery 1.9.1 或更高版本 - Bootstrap's JavaScript requires jQuery version 1.9.1 or higher com.gargoylesoftware.htmlunit.ScriptException:错误:Bootstrap 的 JavaScript 需要 jQuery 1.9.1 或更高版本 - com.gargoylesoftware.htmlunit.ScriptException: Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher 未捕获的错误:Bootstrap 的 JavaScript 需要 jQuery - Uncaught Error: Bootstrap's JavaScript requires jQuery bootstrap.min.js:6未捕获的错误:Bootstrap的JavaScript需要bootstrap.min.js:6上的jQuery - bootstrap.min.js:6 Uncaught Error: Bootstrap's JavaScript requires jQuery at bootstrap.min.js:6 未捕获的错误:Bootstrap 的 JavaScript 需要 electron 应用程序中 bootstrap.min.js:6 处的 jQuery - Uncaught Error: Bootstrap's JavaScript requires jQuery at bootstrap.min.js:6, in an electron app 入门:Bootstrap的JavaScript需要jQuery - Uncaught: Bootstrap's JavaScript requires jQuery Bootstrap设置错误:未捕获ReferenceError:未定义jQuery和Uncaught错误:Bootstrap的JavaScript需要jQuery - Bootstrap Set Up Errors: Uncaught ReferenceError: jQuery is not defined & Uncaught Error: Bootstrap's JavaScript requires jQuery 未捕获的错误引导程序需要 bootstrap.min.js 中的 jquery - uncaught error bootstrap requires jquery at bootstrap.min.js
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM