Uncaught Error:Bootstrap's JavaScript requires jQuery

created at 07-05-2021 views: 1

Error description

Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4

error message

Reason Analysis

reason

Solution

method 1

When introducing the js file, the version I introduced was 1.8.3, which is too low, just change to a higher version.
Such as:

solution1

method 2

Before introducing bootstrap, you need to introduce jquery. Because bootstrap depends on jquery.

Please log in to leave a comment.