How do you check if a checkbox is checked with jQuery? if ( $('input[name="subscribe"]').is(':checked') ) { $('input[name="email"]').show(); } else { $('input[name="email"]').hide(); } To take this a step further, you can use this logic within a click event callback function to perform an action when a checkbox is checked or unchecked. No, it’s not a tongue-twister! Let’s say you’ve got this input: It’ll be checked by default because of the checked attribute.