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
$(document).ready(function() { $('#agecheckbox').click(function() { if($(this).is(":checked")) { $('#agetextbox').show(); } else { $('#agetextbox').hide(); } }); });