我在弹出窗口上执行ajax功能,在ajax功能期间,当我们点击弹出窗口外,弹出窗口不应该关闭
我正在使用..
$('.edits-photo').modal('toggle');
所以请告诉我这些变化。
答案 0 :(得分:0)
尝试如下:
$( document ).ajaxStart(function() {
$(".edits-photo").modal({
escapeClose: false,
clickClose: false,
showClose: false
});
});