In javascript :
document.getElementById('<%=Button1.ClientID %>').style.visibility = "hidden";
in Jquery :
$(selector).css('visibility', 'hidden'); // Hide element
$(selector).css('visibility', 'visible'); // Show element
in C# COde Behide :
button1.visible=false;//to hide.
button1.Visible=true;//to show.