how to check whether a check box is checked or not code example Example: if checkbox is checked if ($('#id_input').is(':checked')) { }