My dropdown menu does not work.
<div class="btn-group">
<button type="button" class="btn btn-warning">Menu Dropdowb</button>
<button type="button" class="btn btn-warning dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
<span class="caret"></span>
<span class="sr-only">Toggle Dropdown</span>
</button>
<ul class="dropdown-menu" role="menu">
<li><a href="#">Submenu1</a></li>
<li><a href="#">Submenu2</a></li>
<li><a href="#">Submenu3</a></li>
<li class="divider"></li>
<li><a href="#">Submenu4</a></li>
</ul>
</div>
<script type="text/javascrip">
$('.dropdown-toggle').click(function(e) {
e.preventDefault();
e.stopPropagation();
return false;
});
$('.dropdown-menu').click(function(e) {
e.preventDefault();
e.stopPropagation();
return false;
});
$(document).ready(function () {
$('.dropdown-toggle').dropdown();
});
</script>