blockUI 在 Internet Explorer 上不起作用
blockUI not working on Internet Explorer
<script type="text/javascript">
$(document).ajaxStop($.unblockUI);
$(document).ready(function(){
$('#viewSOA').click(function(){
$.blockUI({message:'<h3>Loading,Please wait...</h3>'});
location.reload();
});
});
</script>
我正在使用此脚本来显示块UI。当我在Firefox或Chrome中测试时,它可以工作。但是当我在Internet Explorer中单击viewSOA链接时,它不起作用。
如何解决此问题?
只是避免location.reload();
试试这个:
<script type="text/javascript">
$(document).ajaxStop($.unblockUI);
$(document).ready(function(){
$('#viewSOA').click(function(){
$.blockUI({message:'<h3>Loading,Please wait...</h3>'});
});
});
</script>
这对我有用。
相关文章:
- 在Internet Explorer中,向所选内容添加选项不起作用
- 鼠标事件在 Internet Explorer 中不起作用
- 输入类型的图像在Internet Explorer中不起作用,但在Chrome和Firefox中起作用
- 包含jquery的Javascript在Internet Explorer中不起作用
- onClick和onClientClick事件一起使用.在Internet Explorer中不起作用
- Javascript图像动画在Firefox或Internet Explorer中不起作用
- 使用JS固定标题的表在Internet explorer中不起作用
- Angular $templateCache在 Internet Explorer 中不起作用
- 滑块图像在Internet Explorer中不起作用,但在其他浏览器中有效
- 带有 Internet Explorer 8/9 的 Editor Ace 不起作用
- Window.location 在 Internet Explorer 中不起作用
- Ajax POST 请求在 Internet Explorer 中不起作用
- 脚本在 Internet Explorer 中不起作用
- 在第二次加载时更改 iframe 样式,在 Internet Explorer 9 中不起作用
- 流体布局在 Internet Explorer 7 和 8 中不起作用
- blockUI 在 Internet Explorer 上不起作用
- Javascript在Internet Explorer上不起作用
- 屏幕键盘在 Internet Explorer 中不起作用
- jQuery 动画在 Internet Explorer 中不起作用
- 元标记中的JavaScript在Firefox和Internet Explorer上不起作用