以下是隐藏所有的select
然后可以根据需要显示一些需要的select.
以下是显示所有的select.
//hide the select tag of IE6
function hideselectIE6(){
if ($.browser.msie && $.browser.version < 7) {
$("select").each(function(i){
this.style.visibility= 'hidden';
});
}
}
然后可以根据需要显示一些需要的select.
以下是显示所有的select.
//show the select tag of IE6
function showselectIE6(){
if ($.browser.msie && $.browser.version < 7) {
$("select").each(function(i){
this.style.visibility = 'visible';
});
}
}
本文介绍了一种针对Internet Explorer 6浏览器的方法,用于隐藏页面上的所有Select标签,以及如何根据需要重新显示这些标签。此技巧适用于需要解决IE6特定显示问题的前端开发者。
574

被折叠的 条评论
为什么被折叠?



