$(document).ready(function () { console.log('hello world!'); $("body").append(''); $('[data-toggle="popover"]').popover(); });