Payam Sh Payam Sh - 8 months ago 37
jQuery Question

Bootstrap-select does not toggle "open" class

Check it out please -> FIDDLE

I downloaded the source from, I really have no idea why it's not toggling "open" class of ".dropdown-toggle"
I can fix it by adding some messy scripts, but I prefer the plugin to work right.

the HTML:

<div class="number customdp">
<select class="simple-dropdown" name="number">

does anybody have a solution ?

Ted Ted

It has a dependency on twitter bootstrap. Include their CSS and JavaScript files like so:

<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="">

<!-- Latest compiled and minified JavaScript -->
<script src=""></script>

See this updated fiddle with the CSS and JS included, and it seems to work just fine.