how to determine if sub array is not empty in ajax code example
Example: if array is empty jquery
var arrayName = [];
if (arrayName.length === 0) {
// Your code
}
var arrayName = [];
if (arrayName.length === 0) {
// Your code
}