遍历

var defs=new Array();

defs[somethingA]=somethingB;

for(somethingA in defs){

  var somethingB=defs[somethingA];

     ........

}

posted @ 2015-01-04 11:03  PLDaily  阅读(117)  评论(0编辑  收藏  举报