日期:2014-05-16 浏览次数:20343 次
var data={ "001":"070100", "002":"100000", "003":"008080", "004":"110100" }; var result=[]; var flag ="-"; for(var key in data) { result[result.length]= key+data[key]; } alert(result.join(flag));