hi All,This is my first thread on this site.I m student. SOmebody told me to join this site. I hope that this site also helped me,as it others.

Code:
 protected void Page_Load(object sender, EventArgs e)
    {
        Button3.Attributes.Add("onclick", "disable()");
    }

function disable()
    {
    document.getElementById('<&#37;= Label2.ClientID %>').visibility = 'hidden';
                                    OR
    document.getElementById('<%= Label2.ClientID %>').style.display ='none'; 
    }
I tried both the above code,but none of them is working.