Twitter bootstrap remote modal shows same content every time

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

I am using Twitter bootstrap, I have specified a modal

<
22条回答
  •  北海茫月
    2020-11-22 13:05

    Only working option for me is:

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

    I use Bootstrap 3 and I have a function called popup('popup content') which appends the modal box html.

提交回复
热议问题