http://www.cnblogs.com/linfei721/archive/2013/04/27/3046822.html 多行模式: varjson =newArray();for(vari = 8; i <11; i++) { json.push({ name:"linfei"+ i, age: (i +20), address:"武汉"}); }$(":text").val($.toJSON(json)); 显示结果: [ {"name":"linfei8","age":28...