D
D
David Mzareulyan2015-08-11 19:57:07
JavaScript
David Mzareulyan, 2015-08-11 19:57:07

bootstrap-multiselect not working What am I doing wrong?

I'm trying to use this Bootstrap plugin on my site: https://github.com/davidstutz/bootstrap-multiselect (demo davidstutz.github.io/bootstrap-multiselect/) , but for some reason it doesn't show the dropdown menu.
Here is the minimal code that reproduces the error: https://jsfiddle.net/cs4Lha4r/3/. As you can see, the select is styled but doesn't work. What am I doing wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Zuev, 2015-08-11
@david_mz

You forgot to include scripts from bootstrap, namely dropdown.js
Example
PS Your documentation says that you need twitter bootstrap scripts. And there the whole bootstrap.js is connected

<!-- Include Twitter Bootstrap and jQuery: -->
<link rel="stylesheet" href="css/bootstrap.min.css" type="text/css"/>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question