Answers for "bootstrap popover using html css"

-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);
Posted by: Guest on May-22-2020

Browse Popular Code Answers by Language