hi,
this solution works fine when i assign textbox value to one label but when i try to assign one texbox value to two labels it only assign first one and ignore second one
html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script type="text/javascript">
function ChangeLabel(obj) {
document.getElementById("<%=lblText.ClientID%>").innerHTML = obj.value;
<%=lblText2.ClientID%>").innerHTML = obj.value;
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
Enter Text :</b>
<asp:TextBox ID="TextBox1" runat="server" onkeyup="ChangeLabel(this);" /><br />
<b>Entered Text:</b>
<asp:Label ID="lblText" runat="server" />
</div>
</form>
</body>
</html>