IE10下 .hide()隐藏对象不生效(其它所有主流浏览器都没这个问题)的处理方式

$('#btFrame').hide();

$('#btFrame').show();

上面脚本在IE10一下功能失效,解决方法如下:

方法一:

$('#btFrame').hide(0);

$('#btFrame').show(0);

方法二:

$('#btFrame').css('visibility','hidden');

$('#btFrame').css('visibility','visible');
原文地址:https://www.cnblogs.com/qxoffice2008/p/4207863.html