的訪問數組中一個特定的值我有這個數組對象:JavaScript的 - 如何對象
var buArray = [{'31': {'1':'VN', '2':'AC'}},
{'33': {'1':'VN', '2':'AC'}},
{'51': {'1':'VN', '2':'AC', '3':'SR', '5':'WIN'}},
{'52': {'1':'VN', '2':'AC', '3':'SR', '4':'JU'}},
{'53': {'1':'VN', '2':'AC', '3':'SR', '5':'WIN'}},
{'54': {'1':'VN', '2':'AC', '3':'SR', '5':'WIN'}},
{'55': {'1':'VN', '2':'AC', '3':'SR', '6':'PP'}}]
如何訪問例如該特定對象(ID 31),例如:「 {'31':{'1':'VN','2':'AC'}}「?
最好的問候,
不要使用'對...對數組in'! – Alnitak 2014-09-23 11:18:55