功能: var fruitArry=[{name:'durian'},{name:'peach'},{name:'banana'},{name:'pitaya'},{name:'apple'},{name:'cherry'}]; var fruit={'banana':'香蕉','peach':'桃子','durian':'榴莲','pitaya':'火龙果'}; 将 fruitArry 中 name 的值根据 fruit 的 key 值进行替换:如果 fruitArry 的
var resultJSON = '{"FirstName":"John","LastName":"Doe","Email":"johndoe@johndoe.com","Phone":"123 dead drive"}'; var result = $.parseJSON(resultJSON); $.each(result, function(