JoyNeop
2014-04-11 00:35:26 +08:00
var arr0 = [133, 435, 345, 345, 576, 6543, 462]
var arr1 = [2, 435, 345, 345, 576, 6543, 4674, 1234, 63456, 123, 685, 422]
var arr2 = [3, 435, 345, 345, 576, 6543, 63456, 123, 685, 422]
var arr3 = [4, 435, 345, 345, 576, 6543, 4674, 1234, 63456, 123, 685, 422]
var arr4 = [5, 435, 6543, 4674, 1234, 63456, 123, 685, 422]
var arr5 = [6, 435, 345, 6543, 4674, 1234, 682]
var arr = [arr0, arr1, arr2, arr3, arr4, arr5]
var table = document.createElement("table")
for (i = 0; i < arr.length; i++) {
var tr = document.createElement("tr")
for (j = 0; j < arr[i].length; j++) {
var td = document.createElement("td")
td.appendChild(document.createTextNode(arr[i][j]))
tr.appendChild(td)
}
table.appendChild(tr)
}
document.body.appendChild(table)