I need to check the checked property of a checkbox and perform an action based on the checked property using jQuery.
checked
For example, if the age checkbox is
This worked for me:
$get("isAgeSelected ").checked == true
Where isAgeSelected is the id of the control.
isAgeSelected
Also, @karim79's answer works fine. I am not sure what I missed at the time I tested it.
Note, this is answer uses Microsoft Ajax, not jQuery