I'm trying to download Twitter Bootstrap.popover and I copied the code on my site, but it tells me that the Object [object object] does not have a "popover" method for the validation element. I imported jquery before bootstrap-tooltip.js and bootstrap-popover.js and the files show up in the validation element. Here is the actual button, I am trying to get a popover for:
<a href="#" id="example" class="btn btn-success" rel="popover" data-content="It so simple to create a tooltop for my website!" data-original-title="Twitter Bootstrap Popover">hover for popover</a>
and here's javascript:
$(function(){
$('#example').popover();
});
source
share