Jquery attr style 在IE6,IE8下的问题

$("#id").attr("style","");

除了在IE6,与IE8,其它浏览器都好的。

IE8

清除:

$("#id").removeAttr("style");

IE6

清除:

$("#id").css("display","");


posted @ 2011-04-28 18:23  riancy  阅读(833)  评论(0编辑  收藏  举报