I am using bootstrap-popover to show a message beside an element.
If I want to show different text in the popover after the first time, the text does not change. Re
On Boostrap 4 it is just one line:
$("#your-element").attr("data-content", "your new popover content")