日期:2014-05-16  浏览次数:20469 次

简单遍历javascript对象
for(var prop in my_object){
    document.write("name: "+ prop +"; value:"+ my_object[prop], "<br>");
}