//var a= [[1,2],['a',4],[5,'c'],[7,8]];
var a={'66':["孙摸清","258"],'77':["李倩","22"]}
for (var i in a){
alert(a[i])
}
数组二:
var a=[{text:'杭州',value:'8'},{text:'南京',value:'2'},{text:'江苏111',value:'3'},{text:'烟台',value:'4'}];
for (var i=0;i<a.length;i++){
alert(a[i]['text']);
alert(a[i]['value']);
}