I have this html that is supposed to be a dropdown inside another dropdown. The hierarchy is:
Dropdown
|_ First Dropdown
| |_ aaa
| |_ bbb
| |_ ccc
|_ Second Dropdown
|_ ddd
They look fine, but when I press on First Dropdown, the dropdown with values aaa, bbb, ccc won't show up. Same with Second Dropdown.
<div class="btn-group">
<a class="btn dropdown-toggle" data-toggle="dropdown">
Dropdown
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li>
<div class="btn-group dropright">
<a class="btn dropdown-toggle" data-toggle="dropdown">
First Dropdown
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li>aaa</li>
<hr>
<li>bbb</li>
<hr>
<li>ccc</li>
</ul>
</div>
</li>
<hr>
<li>
<div class="btn-group dropright">
<a class="btn dropdown-toggle" data-toggle="dropdown">
Second Dropdown
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li>ddd</li>
</ul>
</div>
</li>
</ul>
</div>
Which seems to be the problem? Thank you for your time!
javascript.First DropdownandSecond DropdownI will have many values, I don't want them all to be visible..