Solved
Does anybody know how to make a Popover close by pressing the escape button?
Curious if anybody knows how to make a Popover window close by pressing the escape button for Website / App feedback.
Thanks!
Best answer by SaurabhPujare_Ugam
Hello @Nash9392
Try this if it help..
$('#example').popover();
$(document).keyup(function (event) {
if (event.which === 27) {
$('#example').popover('hide');
}
});
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
