$target.popover is not a function code example
Example: .popover is not a function
<script type="text/javascript" src="jquery-3.1.1.min.js"></script>
<script type="text/javascript" src="bootstrap.min.js"></script>
<script>
// $j optional alias to jQuery noConflict()
var $j = jQuery.noConflict();
$j(document).ready(function() {
$j('[data-toggle="popover"]').popover();
});
</script>