I cannot get the visibility
or display
properties to work.
Here is the HTML footer:
you can use
style="display:none"
Ex:
<asp:TextBox ID="txbProv" runat="server" style="display:none"></asp:TextBox>
There are two problems in your code:
visibility
and not visiblity
..style
property.It's easy to fix. Simple replace this:
document.getElementById("remember").visiblity
with this:
document.getElementById("remember").style.visibility
This is the job for style
property:
document.getElementById("remember").style.visibility = "visible";