how to check if a checkbox is checkedin html code example Example: if checkbox is checked if ($('#id_input').is(':checked')) { }