how to verify checkbox is checked w3school code example Example: if checkbox is checked if ($('#id_input').is(':checked')) { }