I\'m trying to open a Bootstrap dropdown when I click a item of another dropdown.
The idea is to select a city from the first drop down - then the script will auto o
You need to stop the click event from bubbling to parent elements
$('#sidebar_filter_city li').click(function(e){ $('#sidebar_filter_areas').dropdown('toggle'); e.stopPropagation(); });
You can also use return false; which will do the same thing, but this will also preventDefault on the click.
return false;