User Id :    Password :      New Member   Forgot Password  
 
How to check and uncheck a checkbox in jquery.
Description Here is code to check and uncheck a checkbox in JQuery. To check a checkbox $('.#Checkbox1').prop('checked', true); To Uncheck a checkbox $('#Checkbox1').prop('checked', false);   No. of Views     1902
  Rating     0
Author Shaheen   Posted On     09 Feb 2014
Tags JQuery and ASP.Net,JavaScript    

Sample Code   Download Code

Here is code to check and uncheck a checkbox in JQuery.

To check a checkbox
 

$('.#Checkbox1').prop('checked', true);



To Uncheck a checkbox

 

$('#Checkbox1').prop('checked', false);

 

Thanks,
 

About Author

About Author Coding is as cool as cooking......... Shaheen
No Photo
 
Country India
Company DotNetLogix
Home Page www.dotnetlogix.com

Rate this article

Rating options from poor, fair, good, very good to excelent.  
 

Comments

   
Write your comment here.
Comment
Verification Code