Uncaught Error: Bootstrap's JavaScript requires jQuery

Total Post:19

Points:135
 1335  View(s)
Ratings:
Rate this:

I am trying to call bootstrap modal But it shows error in console that Uncaught error:Bootstrap’s JavaScript requires jQuery.I am using <script src="~/Scripts/jquery-3.1.1.js"></script>.kindly help me in getting towards the result, so that I can accomplish the same…  

  1. Post:45

    Points:323
    Re: Uncaught Error: Bootstrap's JavaScript requires jQuery

    Make sure that the order of script and css files should be like below:

    <head>
        <meta name="viewport" content="width=device-width" />
        <link href="~/Content/bootstrap.min.css" rel="stylesheet" />
        <link href="~/Content/StyleSheet1.css" rel="stylesheet" />
        <script src="~/Scripts/jquery-3.1.1.js"></script>
        <script src="~/Scripts/bootstrap.min.js"></script>
       
    </head>


    Hope This Helps....

      Modified On Apr-11-2018 11:00:15 PM

Answer