chicken.king
10-07-2005, 04:23 AM
hello can anyone tell me why this code contain error ? default i set it to visible to false but after lost focus i want to make it visible to true but error occur
<Script language = "Javascript">
function new1()
{
document.getElementById("text1").style.visibility= 'visible';
}
</script>
<body>
<asp:TextBox ID="text1" CssClass="input" Columns="20" Runat="server" onblur="new1()" visible = false></asp:TextBox>
</body>
any help will be appreciate.
<Script language = "Javascript">
function new1()
{
document.getElementById("text1").style.visibility= 'visible';
}
</script>
<body>
<asp:TextBox ID="text1" CssClass="input" Columns="20" Runat="server" onblur="new1()" visible = false></asp:TextBox>
</body>
any help will be appreciate.