How to parse an object like this with jQuery or javascript:
Object { 4: Array[1], 5: Array[1] } //arrSrok
$.each(arrSrok, function(srokID, arrKhum) {
console.log(arrKhum); //runs only once, and I got srokID = 4, arrKhum empty
});
It seems that arrKhum cannot be assigned with an array. What do I miss?
Though I can parse an object with the following format successfully
Object { 1: Object, 2: Object }