jquery input array is not empty code example Example: if array is empty jquery var arrayName = []; if (arrayName.length === 0) { // Your code }