jQuery-loadmask无法在IE8中正常工作 [英] jquery-loadmask not working properly in IE8

查看:101
本文介绍了jQuery-loadmask无法在IE8中正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的应用程序上使用了jquery-loadmask插件,它在ajax调用开始时显示处理动画,而在调用结束时隐藏动画.

I have used jquery-loadmask plugin on my app, it shows processing animation when ajax call starts and hides animation when call finishes.

它在Firefox和IE8中都能正常工作,如果我在开发人员工具栏中运行对遮罩功能的调用,则会显示动画,但在ajax调用中却无法正常工作.知道为什么吗?

It works fine in Firefox and it IE8, if i run call to masking function in developer toolbar it shows animation but in ajax call it doesnt work. Any idea why?

这是我的称呼方式:

jQuery("#content").mask("Processing....");

这是到库的链接:

http://code.google.com/p/jquery-loadmask/

推荐答案

这是DOM无法在IE中快速刷新的问题.通过调用调用后将其聚焦在mask div上来解决此问题.

It was issue with DOM not refreshing in IE that quick. Fixed this by focusing mask div after making call to load it.

这篇关于jQuery-loadmask无法在IE8中正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆