Twitter Bootstrap Popovers not working for Dynamically Generated Content

后端 未结 3 539
伪装坚强ぢ
伪装坚强ぢ 2020-12-03 07:45

New to posting on stackoverflow here, so my apologies in advance if I messed anything up here.

I\'m using Twitter Bootstrap\'s popovers. My popovers seem to be worki

3条回答
  •  难免孤独
    2020-12-03 08:11

    In the success function of the ajax you need to call the popover. Something like this

    success:function(){
      $("[rel=popover]").popover({placement:'left'});
    }
    

提交回复
热议问题