I have a twitter bootstrap dropdown inside a div with the plugin jOrgChart.
The problem I\'m having is that when I click the button to open the dropdown menu it also
$("div#chart div.btn-group > a.dropdown-toggle, .dropdown-menu li a").click(function(e) { e.stopPropagation(); $(this).closest('.dropdown').toggleClass('open'); });
You should use this instead as above solution doesn't close the dropdown on focus out.