Twitter bootstrap remote modal shows same content every time

前端 未结 22 1288
春和景丽
春和景丽 2020-11-22 12:29

I am using Twitter bootstrap, I have specified a modal

<
22条回答
  •  眼角桃花
    2020-11-22 13:26

    For bootstrap 3 you should use:

    $('body').on('hidden.bs.modal', '.modal', function () {
        $(this).removeData('bs.modal');
    });
    

提交回复
热议问题