I\'m having trouble reloading content of a bootstrap popover with ajax. Here\'s some code: http://pastie.org/3960102
The second ajax request (when I click on \"a.close\"
After hours' search, I figured it out. For Bootstrap 3, you can use code below. More references are:
https://github.com/twbs/bootstrap/issues/11528 and Bootstrap popover content cannot changed dynamically
if($element.data('bs.popover')) {
$element.data('bs.popover').options.content = 'NEW CONTENT';
}