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.
I tried both the above code,but none of them is working.Code:protected void Page_Load(object sender, EventArgs e) { Button3.Attributes.Add("onclick", "disable()"); } function disable() { document.getElementById('<%= Label2.ClientID %>').visibility = 'hidden'; OR document.getElementById('<%= Label2.ClientID %>').style.display ='none'; }




Reply With Quote