This commit is contained in:
gnieark 2016-05-14 23:47:15 +02:00
parent d9ba41ed4d
commit e1aa16fa98

View File

@ -56,7 +56,8 @@ function connectFour(bot1,bot2,xd_check, newGame){
//fill the grid
if( reponse['strikeX'] > -1){
alert(reponse['strikeSymbol']);
//alert(reponse['strikeSymbol']);
alert (document.getElementById('td' + reponse['strikeX'] + '-' + reponse['strikeY']).typeOf);
document.getElementById('td' + reponse['strikeX'] + '-' + reponse['strikeY']).innerHTML = reponse['strikeSymbol'];
}
if(reponse['continue'] == 1){