Bootstrap's JavaScript library relies on jQuery. You need to include that before bootstrap.js
, eg
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<script src="../js/bootstrap.js"></script>
See the note here - http://getbootstrap.com/2.3.2/getting-started.html#file-structure
Please note that all JavaScript plugins require jQuery to be included.
Or the modern equivalent ~ http://getbootstrap.com/getting-started/#jquery-required
jQuery required
Please note that all JavaScript plugins require jQuery to be included, as shown in the starter template. Consult our
bower.json
to see which versions of jQuery are supported.