Possible Duplicate:
Check checkbox checked property using jQuery
What is the correct way of accessing a checkbox to check if it's checked? Is it necessary to first check if that element exists in the DOM and then see if is checked or not?
Possible Duplicate:
Check checkbox checked property using jQuery
What is the correct way of accessing a checkbox to check if it's checked? Is it necessary to first check if that element exists in the DOM and then see if is checked or not?
You would use the checked selector along with the is method of Jquery
if($('#chkbox').is(':checked')){
}