for语句查看js对象 for (var obj in o.curform) { document.write("<p>" + obj + " = " + o.curform[obj] + "</p>"); }