document.getElementById(id)的隐藏与显示
发布日期:2021-05-10 10:48:45 浏览次数:17 分类:原创文章

本文共 259 字,大约阅读时间需要 1 分钟。

<script language="javascript">
var n = 1;
function $(id){ 
 return document.getElementById(id);
}
function show_child(){
if(n==1){
//alert(n);
$("rwgl").style.display="none";
n = n-1;
}
else {
//alert("");
$("rwgl").style.display="block";
n = n+1;
}
}
</script>

上一篇:C#调用HttpPost请求
下一篇:IDEA Properties中文unicode转码问题

发表评论

最新留言

初次前来,多多关照!
[***.217.46.12]2025年04月08日 22时36分52秒