yosh
yosh

Reputation: 178

Bootstrap 4 throwing errors, Uncaught TypeError?

Just looking at the syntax I believe it has something to do with bootstraps JS

Uncaught TypeError: Cannot read property 'fn' of undefined util.js:56
    at util.js:56
    at util.js:10
    at bootstrap.min.js:6
    at bootstrap.min.js:6

Basically the issue on my website is the fact that I'm using a basic login page, when I enter the login page, I cannot return to the homepage without editing the URL to go to Default.aspx, the ReturnURL doesnt actually work and just displays the ReturnUrl in the URL bar.

/Login.aspx?ReturnUrl=%2fAccount%2fChangePassword.aspx

Upvotes: 2

Views: 2419

Answers (1)

Pramith Chathuranga
Pramith Chathuranga

Reputation: 524

I think its coming from Js order you called. Jquery must be called first and after that called bootstrap script files.

<script src="assets/js/jquery/jquery-3.3.1.min.js"></script>
<script src="assets/js/bootstrap/bootstrap.bundle.min.js"></script>

Upvotes: 5

Related Questions