var arr = { 0:{id:"1",color:"Red"}, 1:{id:"2",color:"Green"}, 3:{id:"3",color:"Blue"} }; alert(arr[1].id + " " + arr[1].color);