Hi,
This is a simple code that I try to access the vlaue of a textbox once a user click client side.
But nothing happend. Can anyone explain what the issue is .
Thanks
Bob
<head runat="server">
<title></title>
<script type="text/javascript">
function verifyUserName() {
alert('you have registered ' +
$get('TextBox1').vlaue);
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:LinkButton ID="LinkButton1" runat="server"
OnClientClick="verifyUserName">LinkButton</asp:LinkButton>
<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
...
Go to the complete details ...