Tag:

显示模态加载div未在谷歌浏览器和IE浏览器中运行,Firefox也可以

我想在进程SOAP调用期间显示“请等待,加载”旋转圈。 我在Google Chrome和Internet Explorer 9,10,11中显示模态屏幕时遇到问题。 Firefox还可以。 如果我删除$(“body”).removeClass(“loading”); 来自someMethodSOAP() ,加载屏幕在Google Chrome和IE中显示正确。 SOAP调用的持续时间是一秒,因此应该显示加载屏幕。 我想在Google Chrome和IE中显示加载屏幕,但我不知道该怎么做? 为什么Firefox浏览器工作正常,谷歌Chrome和IE不行? 我用: [jQuery 2.1.1] [ http://code.jquery.com/jquery-2.1.1.js ] [jquery.soap 1.3.8] [ http://plugins.jquery.com/soap/ ] [模态窗口解决方案来自:[ 如何使用jQuery创建“Please Wait,Loading …”动画? ] 谢谢。 我的代码: index.php : .modal { display: none; position: fixed; z-index: 1000; top: 0; left: 0; height: 100%; width: 100%; } /* When the body […]