I'm using the popover feature from Twitter's Bootstrap js. I have a button that, when clicked, executes this javascript:
$("#popover_anchor").popover({trigger: "manual",
placement: "below",
offset: 10,
html: true,
title: function(){return "TITLE";},
content: function(){return "CONTENT TEXT";}});
$("#popover_anchor").popover("show");
There's also another button that executes basically the same javascript, except that the title and content functions return different text.
Note that they both define the popover on the same element, just with different content.
The problem is, once either button is clicked and the js is executed, no subsequent clicks from the other button will change the popover content. So once the popover is initialized, how can I update/change the content?