Bootstrap has the ability to embed popovers . The format is:

<button type="button" class="btn btn-default" data-container="body" data-toggle="popover" data-placement="left" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus."> Popover on left </button> 

The message text is in data-content . How to properly load information into this popover using ajax? Expected quite extensive html.

    1 answer 1

    there is written api below. I think it will look something like this.

     $('#myPopover').on('show.bs.popover', function () { $.ajax(... , function(data) { this.data('content',data); }); });