Prev Demo
Bootstrap
>
Popover With Actions
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html lang="en"> <head> <title>Bootstrap Case</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script> <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> <script type="text/javascript"> $(document).ready(function () { $(".show-popover").click(function () { $(".popover-pop a").popover('show'); }); $(".hide-popover").click(function () { $(".popover-pop a").popover('hide'); }); $(".toggle-popover").click(function () { $(".popover-pop a").popover('toggle'); }); $(".destroy-popover").click(function () { $(".popover-pop a").popover('destroy'); }); }); </script> </head> <body> <h2>Popover with actions</h2> <div> <p class="popover-pop list-inline"> <a href="#" class="btn btn-info" data-toggle="popover" title="DotNetFunda" data-content="Fundamentals of .Net">DotNetFunda</a> </p> <div> <input type="button" class="btn btn-primary show-popover" value="Show" /> <input type="button" class="btn btn-success hide-popover" value="Hide" /> <input type="button" class="btn btn-warning toggle-popover" value="Toggle" /> <input type="button" class="btn btn-danger destroy-popover" value="Destroy" /> </div> </div> </body> </html>
Note: We DO NOT save your trial code in our database.
Output