$(document).on('click', 'div.dropdown-menu', function (e) { e.stopPropagation(); });