Oh man, I\'ve been tearing my hair out over this. 4 hours on a dropdown.
I\'m using Twitter Bootstrap.
The fixed nav at the top has a dropdown, pretty standard s
you can remove the "open" class from dropdown menus when another is clicked. this worked for me so far:
$(document).ready(function () { $('a.dropdown-toggle').each(function(){ $(this).on("click", function () { $('li.dropdown').each(function () { $(this).removeClass('open'); }); }); }); });