00 17/01/2021 10:35
Ho aggiornato lo script e corretto l'errore (la riga "document.getElementById("out").value = outcome;" andava tolta, ora l'ho commentata):

function getRndInteger(min, max) {
  var outcome;
  outcome = Math.floor(Math.random() * (max - min + 1) ) + min;
  //document.getElementById("out").value = outcome;
  return outcome;
}


[Modificato da admin 17/01/2021 10:35]