Setting asp.net Label text from client side script

<script type=”text/javascript”>
<!–
function changeLabel()
{
document.getElementById(‘<%= Label1.ClientID %>’).innerHTML = ‘Your new value’;
}
// –>
</script>

  • RRaveen

    Dear Friends,

    I hope you are doing well. I have launched a web site http://www.codegain.com and it is basically aimed C#,JAVA,VB.NET,ASP.NET,AJAX,Sql Server,Oracle,WPF,WCF and etc resources, programming help, articles, code snippet, video demonstrations and problems solving support. I would like to invite you as an author and a supporter. Looking forward to hearing from you and hope you will join with us soon.

    Please forward this email to all of your friends who are related IT. Send to us your feed about site also.

    Thank you
    RRaveen
    Founder CodeGain.com