TypeError: $(...).bootstrapValidator is not a function , it does load the ContactUs.js file, but it's not able to find the function
<p>As the Code is given and it is not able to find the function. I have tried several changes but still get the Error the sequence is also correct. The head part is at the top script and the other environment  development is at the bottom of the code between the <code>&lt;body&gt;</code> section.</p>

<pre><code>&lt;head&gt;       
        &lt;meta charset="utf-8" /&gt;
        &lt;meta name="viewport" content="width=device-width, initial-scale=1.0" /&gt;
        &lt;title&gt;About Us-Azure Solutionz&lt;/title&gt;

        &lt;environment names="Development"&gt;
            &lt;link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.css" /&gt;
            &lt;link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/jquery.bootstrapvalidator/0.5.3/css/boots‌​trapValidator.css"/&gt;

            &lt;link rel="stylesheet" href="css/ContactUs.css" /&gt;
            &lt;link rel="stylesheet" href="~/css/site.css" /&gt;
             &lt;link rel="stylesheet" href="css/NavbarButton.css"/&gt;
            &lt;link rel="stylesheet"  href="css/AboutUs.css"/&gt;

              &lt;link rel="stylesheet" href="css/Footer.css"/&gt;
        &lt;/environment&gt;
        &lt;environment names="Staging,Production"&gt;
            &lt;link rel="stylesheet" href="https://ajax.aspnetcdn.com/ajax/bootstrap/3.3.5/css/bootstrap.min.css"
                  asp-fallback-href="~/lib/bootstrap/dist/css/bootstrap.min.css"
                  asp-fallback-test-class="sr-only" asp-fallback-test-property="position" asp-fallback-test-value="absolute" /&gt;
            &lt;link rel="stylesheet" href="~/css/site.min.css" asp-append-version="true"/&gt;
        &lt;/environment&gt;

    &lt;/head&gt;
&lt;environment names="Development"&gt;
            &lt;script src="~/lib/jquery/dist/jquery.js"&gt;&lt;/script&gt;
            &lt;script src="~/lib/bootstrap/dist/js/bootstrap.js"&gt;&lt;/script&gt;
            &lt;script src="~/js/site.js" asp-append-version="true"&gt;&lt;/script&gt;
        &lt;/environment&gt;
        &lt;environment names="Staging,Production"&gt;
            &lt;script src="https://ajax.aspnetcdn.com/ajax/jquery/jquery-2.1.4.min.js"
                    asp-fallback-src="~/lib/jquery/dist/jquery.min.js"
                    asp-fallback-test="window.jQuery"&gt;
            &lt;/script&gt;
            &lt;script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.0/jquery.js"&gt;&lt;/script&gt;
            &lt;script src="https://ajax.aspnetcdn.com/ajax/bootstrap/3.3.5/bootstrap.min.js"
                    asp-fallback-src="~/lib/bootstrap/dist/js/bootstrap.min.js"
                    asp-fallback-test="window.jQuery &amp;&amp; window.jQuery.fn &amp;&amp; window.jQuery.fn.modal"&gt;
            &lt;/script&gt;
            &lt;script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery.bootstrapvalidator/0.5.3/js/bootstr‌​apValidator.js"&gt;&lt;/script&gt;
            &lt;script src="js/ContactUs.js" type="text/javascript"&gt;&lt;/script&gt;
            &lt;script src="~/js/site.min.js" asp-append-version="true"&gt;&lt;/script&gt;
        &lt;/environment&gt;
</code></pre>