模态窗口不会隐藏在jquery中的ajaxStop函数中

时间:2016-09-20 10:00:41

标签: jquery hide bootstrap-modal

ajaxStart function工作正常。但模式窗口无法隐藏在ajaxStop function的{​​{1}}中。

这是我的代码

jquery

$(document).ajaxStop(function () { $('#loading-modal').modal('hide'); }); 中有一个errorconsole

1 个答案:

答案 0 :(得分:1)

确保您的jquery文件或bootstrap.js文件overwriting again。 有时这是问题所在。 欢呼声。

相关问题