Bootstrap .popover("destroy") method

Use the popver("detroy") to destroy the popover.

It hides the popover ?

popover('destroy');

The method is used to destroy the popover ?

$(".btn-default").click(function(){
  $("[data-toggle='popover']").popover('destroy');
});

You can try to run the following code to implement the popver("destroy") method ?

Example


  
    Bootstrap Example
    
    
    
    
    
  


  
    Examination    
     

Here's the result:

               
   
Updated on: 2026-03-11T22:50:42+05:30

1K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements