How to hide control in Javascript?

 Posted by vishalneeraj-24503 on 12/20/2013 | Category: ASP.NET Interview questions | Views: 1904 | Points: 40
Answer:

With the help of Display style property,we can hide/show controls in Javascript.

Display property has None and Block values.

For Example:-

docoment.getElementById('<%=txt_salary.ClientID%>').style.display = 'none';


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response