// This does work var notChecked = !( $('#somecheckbox').is(':checked') ); if(notChecked){ // somelogic } else { // so other logic }