multidimensional array push in jquery code example
Example: multidimensional array push in jquery
var ItemArray = [];
ItemArray.push({
RoomName : 'RoomName',
Item : []
});
ItemArray[0].Item.push("New Item");
console.log(ItemArray);
var ItemArray = [];
ItemArray.push({
RoomName : 'RoomName',
Item : []
});
ItemArray[0].Item.push("New Item");
console.log(ItemArray);