Answers for "bootstrap prevent dropdown from closing on click"

-1

bootstrap prevent dropdown from closing on click

// If an element inside a dropdown menu has the "keep-open" class,
// disable closing the dropdown menu.
$(document).on('click.bs.dropdown.data-api', '.keep-open', function (e) {
  e.stopPropagation();
});
Posted by: Guest on October-01-2020

Code answers related to "bootstrap prevent dropdown from closing on click"

Code answers related to "Javascript"

Browse Popular Code Answers by Language