Found a bug regarding bootstrap-alert.js in javascript

I downloaded bootstrap.zip and included it in my html page like this <script src="bootstrap/js/bootstrap-alert.js"></script>

and my Html code <div class="alert fade in"> <a class="close" data-dismiss="alert" href="#">&times;</a> <strong>Holy guacamole!</strong> Best check yo self, you're not looking too good. </div>

I am aware of bootstrap-alert.js: 75 Uncaught TypeError: Cannot read property 'fn' from undefined

+3


source to share


1 answer


Make sure you include jQuery as well. Bootstrap-alert.js depends on getting a reference to the window.jQuery object as a parameter.



+5


source







All Articles