Method one:
document.getElementById(" controls ID").style.visibility="hidden";
document.getElementById(" controls ID").style.visibility="visible";
Method 2:
document.getElementById(" controls ID").style.display="none";
document.getElementById(" controls ID").style.display="inline";
Method 1: after hiding the page’s location is still occupied by the control but does not Display Display=Static, similar to the.net validation control Method 2 hides the location of the page from being occupied similar to the Display=Dynamic of the.net validation control