You can visible or invisible controls with two different ways-
1) var control;
control=document.getElementById("controlId");
control.style.display="none";
control.style.display="block";
2) var control;
control=document.getElementById("controlId");
control.style.visibility="visible";
control.style.visibility="hidden";
first one work with IE,Netscape,Mozila,etc. smoothely.
second one work with IE only.
No comments:
Post a Comment