I have a button dropdown (just one, not all of them), and inside of it, I want to have several input field where people can type stuff inside without the dropdown hiding as
also, prevent click unless clicks a button element
$('.dropdown-menu').click(function(e) { if (e.target.nodeName !== 'BUTTON') e.stopPropagation(); });