draw table

This commit is contained in:
gnieark 2016-05-12 19:45:49 +02:00
parent 93a424369b
commit 0fe79fe8c0

View File

@ -25,7 +25,7 @@ function connectFour(bot1,bot2,xd_check){
var table=createElem('table',{'className':'tabledoc'}); var table=createElem('table',{'className':'tabledoc'});
for (var i=0; i<6; i++){ for (var i=0; i<6; i++){
var tr=createElem('tr'); var tr=createElem('tr');
for (var j=0;j<7: j++){ for (var j=0;j<7; j++){
var td=createElem('td',{'id': 'td' + i + '-' + j}); var td=createElem('td',{'id': 'td' + i + '-' + j});
tr.appendChild (td); tr.appendChild (td);
} }