How to check/uncheck a Checkbox control or radio button using jQuery?

 Posted by vishalneeraj-24503 on 1/3/2015 | Category: jQuery Interview questions | Views: 2517 | Points: 40
Answer:

Using the Prop method,we can achieve:-
To Check #rdb_active buttons
$("#rdb_active").prop("checked",true);

To Uncheck #rdb_active buttons
$("#rdb_active").prop("checked",false);

Similarly,we can use Checkboxes.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response