popover bootstrap appearance location code example
Example 1: bootstrap popover on dynamic element
var popOverSettings = {
placement: 'bottom',
container: 'body',
html: true,
selector: '[rel="popover"]', //Sepcify the selector here
content: function () {
return $('#popover-content').html();
}
}
$('body').popover(popOverSettings);
Example 2: popover bootstrap 4
<script>
$(document).ready(function(){
$('[data-toggle="popover"]').popover({
html: true
});
});
</script>