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
Something I like to use that has a bit more user-expected behavior:
if(!$('#myDropdown').hasClass('show')){ $('#myDropdown').dropdown('toggle'); }
If it is already open, don't do anything. If it is closed, then it should open.