JSFiddle - React, Tailwind, and code Playground
by Sherbrow
HTML
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/css/bootstrap.min.css">
<script src="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/js/bootstrap.min.js"></script>
<a href="#" id="myPoped" class="btn">Poped</a>
CSS
body { padding: 42px; }
JavaScript
$('#myPoped').popover({
trigger: 'manual',
title: 'My Title',
content: 'My Content'
}).popover('show')
.on('click', function(e) {
e.preventDefault();
// Don't bother with this line, short workaround for a bug resolved in 2.3
// See https://github.com/twitter/bootstrap/pull/6349
$(this).data('popover').toggle(e);
});