title: Trigger bootstrap popover inside onclick event
body: <p>How can i manage to trigger the popover inside the onclick event?</p>
  
  <pre><code>jQuery(document).ready(function($) { 
      $('[rel=popover]').popover().click(function(e) {e.preventDefault()});
  });
  
  
  &lt;button class="btn" rel="popover" data-placement="bottom" data-trigger="manual" data-content="somecontent" data-original-title="Title" type="button" onclick="if(something==true) { console.log($(this));$(this).popover('show'); }"&gt;Start&lt;/button&gt;
  </code></pre>
  
  <p>This just gets me an "Uncaught TypeError: undefined is not a function"</p>