JQuery Internet Explorer和ajaxstop [英] JQuery Internet Explorer and ajaxstop
本文介绍了JQuery Internet Explorer和ajaxstop的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
$(document).ajaxStart(function() {loading.show()});
$(document).ajaxStop(function() {loading.hide()});
如何在Internet Explorer中调用事件ajaxStop? ajaxStart没有问题
How to invoke an event ajaxStop in Internet Explorer? ajaxStart works without problem
推荐答案
你想要 ajaxComplete
$(document).ajaxComplete(function() {loading.hide()});
http://api.jquery.com/ajaxComplete/
这篇关于JQuery Internet Explorer和ajaxstop的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文