hi
murugavel
try this
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<script>
function TestLb() {
var tt = document.getElementById("lbl1").innerHTML;
document.getElementById("lbl2").innerHTML = tt;return false;
}
</script>
<body>
<form id="form1" runat="server">
<asp:Label ID="lbl1" runat ="server" Text ="Jesus"></asp:Label>
<asp:Label ID="lbl2" runat ="server" Text =""></asp:Label>
<asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Button" OnClientClick ="return TestLb();" />
</form>
</body>
</html>
mark at answers if this help.
Mark as Answer if its helpful to you
Kumaraspcode2009@gmail.com
Murugavelmsc, if this helps please login to Mark As Answer. | Alert Moderator