日期:2014-05-20 浏览次数:20782 次
var aa = new Array; aa[0] = new Array("aaa", "bbb", "ccc"); aa[1] = new Array("ddd", "eee"); for (var i=0; i<aa.length; i++) { var html = ""; for (var j=0; j<aa[i].length; j++) { html = html + "<input type='text' value='" + aa[i][j] + "'>"; } document.write(html); document.write("<br>"); }