User Id :    Password :      New Member   Forgot Password  
 
How to check if a checkbox is checked or not using JQuery
Description How to check if a checkbox is checked or not using JQuery   No. of Views     2134
  Rating     0
Author Shaheen   Posted On     11 Feb 2014
Tags JavaScript,JQuery    

Sample Code   Download Code

To check if a checkbox is checked or not in juqery we can use below code.

 

var status = $('#checkbox1').val();


or
 

var status =$('.checkbox_class').val();



or
 

var status = $('#checkbox1').is(":checked")


 

 

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