How to hide particular control using jQuery?

 Posted by vishalneeraj-24503 on 6/9/2014 | Category: jQuery Interview questions | Views: 504 | Points: 40
Answer:

If we want to use any control id then we have to use # Sign folloed by ControlID in the Selector.
Suppose,i have a button with id btnValidate and i want to hide this button,so i will write below code:-

$("#btnValidate").hide();

Now,btnValidate will be hidden from Page.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response