This commit is contained in:
gnieark 2016-05-14 23:20:14 +02:00
parent b50b6c1844
commit 9c0aa879b4

View File

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