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. 0 讨论(0) 查看其它22个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
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.
popup('popup content')