页面隐藏部分GridView1, 代码哪位大侠给解释解释
//隐藏两个层function ShowNo(divName) {
// document.getElementById("doing").style.display = "none";
document.getElementById(divName).style.display = "none";
document.getElementById("MyFrm").style.visibility="hidden";
}
//隐藏两个层(不刷新)
function ShowNoFlash(divName) {
//document.getElementById("doing").style.display = "none";
document.getElementById(divName).style.display = "none";
document.getElementById("MyFrm").style.visibility = "hidden";
}
//隐藏两个层并刷新后台
function ShowNoRefsh(divName) {
// document.getElementById("doing").style.display = "none";
document.getElementById(divName).style.display = "none";
document.getElementById("MyFrm").style.visibility="hidden";
var theform = document.forms["form1"];
theform.__EVENTTARGET.value = "btnOutQuery";
theForm.__EVENTARGUMENT.value = "";
theform.__EVENTTARGET.value = "btnQuery";
theForm.__EVENTARGUMENT.value = "";
theform.submit();
}
function $(id) {
return (document.getElementById) ? document.getElementById(id) : document.all[id];
}
//隐藏两个层并刷新后台
function ShowNoRefsh() {
window.location.href=window.location.href;
window.location.reload;
}
//根据屏幕的大小显示两个层
function showFloat(hCount, divName, isAdd) {
//$('doing').style.width = "100%";
// $('doing').style.height = "100%";
//$('doing').style.display = "block";
document.getElementById("MyFrm").style.visibility = "visible";
var objLog = document.getElementById(divName);
objLog.style.display = "";
}
function showConfir(ImgName,divName)
{
if(document.getElementById(divName).style.display=="none")
{
document.getElementById(divName).style.display="";
document.getElementById(ImgName).src="../../Images/expand.jpg" ;
}
else
{
document.getElementById(divName).style.display="none";
document.getElementById(ImgName).src="../../Images/collapse.jpg";
}
}
页面有两个部分隐藏,怎么改为全部显示
--------------------编程问答-------------------- --------------------编程问答-------------------- 把none改为block
补充:.NET技术 , C#