JSFiddle - React, Tailwind, and code Playground

HTML

<script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.min.css">
<div id="popover-content">
  <a id="link" href="#">click</a>
</div>
<button id="trigger" data-placement="bottom" title="title">Reveal popover</button>

JavaScript

$(function(){
  $('#trigger').popover({ 
    html: true,
    content: function() {
      return $('#popover-content');
    }
  }); 

  $('#link').click(function() {
    alert('beep');
  });
});