The below code snippet explains how to get all unchecked or unselected HTML input checkboxes in the whole HTML document.
<input type="checkbox" id="Checkbox1" value = "1" />
<input type="checkbox" id="Checkbox2" value = "2" />
<input type="checkbox" id="Checkbox3" value = "3" />
<input type="checkbox" id="Checkbox4" value = "4" />
<input type="button" id="demo" value = "Demo" />
<script type = "text/javascript" src = ""></script>
<script type="text/javascript">
    $("#demo").live("click", function () {
        $("input:checkbox:not(:checked)").each(function () {
            alert("Id: " + $(this).attr("id") + " Value: " + $(this).val());
In the above example a click event handler has been assigned to the HTML input button. When the button is clicked, jQuery finds all the unchecked or unselected checkboxes within the HTML document and that are using input:checkbox:not(:checked)selector and then the Id and value attribute of the all HTML input checkboxes are displayed in alert using jQuery.