Bootstrap Popover content not working
Bootstrap Popover content not working I have a button which triggers a popover. It is generated by another script. $('#appendTarget').append(' ' + item.name + ' ' + ' '); This is my function for triggering: function showPopover(element) { $(element).popover({ html: true, content: function() { $('#popover-content').append(' Edit ' +' Activate ' +' Delete '); } }); } And the popover-content is this: popover-content But it is not working. However if I add this links directly into it works. But I want to add it dynamically so I can assign the id to each link (button). Anyone? Why append is not working in this case? EDIT @Arex had a good point that display:none state was not changing. I changed my function and it looks like this: display:none function showPopover(element) { $(element).popove...
