如何使用數組查詢對象?使用數組查詢對象(不包含第三方腳本)
var myArray = ['A','C']
使用myArray的,我怎麼能得到與[「1」,「3」]返回的數組了以下(以前JSON對象)的(不使用第三方查詢腳本 - 除非它是jQuery的: )
[ { "property1": "1",
"property2": "A"
},
{ "property1": "2",
"property2": "B"
},
{ "property1": "3",
"property2": "C"
} ]
Darin !!甜蜜的解答!謝謝我的'1'和'3':D – Kyle 2010-08-20 11:40:42