input:checkbox class selector code example Example: select all inputs that arent checkboxes document.querySelectorAll('input:not([type="checkbox"])');