jqueryhtmlcsstwitter-bootstraptwitter-bootstrap-3

Resolving Dependency Order Error: "Bootstrap's JavaScript Requires jQuery"


I'm developing a user interface for my application using Bootstrap. I included jQuery (version 1.11.0) in my HTML document's <head> section, expecting it to meet Bootstrap's dependency requirements. However, when I load the page in a browser, I encounter the following error from jQuery:

Uncaught Error: Bootstrap's JavaScript requires jQuery

I've also tested jQuery version 1.9.0 and various other copies hosted on different CDNs, but I'm still facing issues. Can anyone help me identify what might be misconfigured or missing in my setup?


Solution

  • Try this

    Change the order of JS 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>