You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
let fieldId = 0;
|
|
for(let i = 0; i < 64; i++){
|
|
fieldId = i.toString();
|
|
document.getElementById("field"+fieldId).selected = 0;
|
|
}
|
|
function selectField(field){
|
|
console.log(field.id);
|
|
field.style.backgroundColor = "rgb(227,8,8, 0.3)";
|
|
} |