简体   繁体   中英

Bootstrap's javascript requires jquery error in our client side login

So we are currently building a client side CEF login for a game server. It works but we still keep getting this annoying error on launch client side:

"Bootstrap's javascript requires jquery. jquery must be included before bootstrap's javascript"

I have checked everywhere and everything seems to be in the correct order though I'm likely very wrong! Here is the order we have it in the head tag:

<head>
<meta charset="UTF-8">
<title>title</title>


<script src="js/jquery-3.2.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
 <script src="js/tether.min.js"></script>
<link rel="stylesheet" href="css/font-awesome.min.css">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/style.css">

Thanks for your help so far!

Have you tried using the google or microsoft CDN? I would check

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>

It doesn't hurt to try and see if that works!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM