js 字典添加删除

attrDictionaries = new Array();

//添加

attrDictionaries[“ attrkey” ] = { EnclosureType: EnclosureType, EnclosureName: EnclosureName, EnclosureUrl: EnclosureUrl, EnclosureCount: EnclosureCount };

//删除

 delete attrDictionaries[keyid];

 

posted @ 2017-03-01 08:34  haifeng_0712  阅读(7901)  评论(0编辑  收藏  举报