i have several buttons and i need a popover for each. i want it like this: when my user click on one of them, i want others to be hidden. so only one popover is show
somehow i created one example for my need. i used this code:
$('.btn').popover(); $('.btn').on('click', function (e) { $('.btn').not(this).popover('hide'); });
check the demo here
and corrected the previous demo i hope it will help someone else