Home > front end >  Random number do soft keyboard
Random number do soft keyboard

Time:10-11

I have made this, repeat, there is no great god help me, to see what's the problem, the first td, and you won't come because I was zero, can't get into circulation, also don't know how to solve, in the original basis, thank you,

CodePudding user response:

 
<script>
Window. The onl oad=function () {
Var arr=,1,2,3,4,5,6,7,8,9 [0];
Var td=document. QuerySelectorAll (" number ");
For (var I=0; i Td [I] innerHTML=arr. Splice (math.h floor (math.h random () * arr in length), 1) [0].
}
}
</script>


















CodePudding user response:

reference 1/f, the sky wave response:
 
<script>
Window. The onl oad=function () {
Var arr=,1,2,3,4,5,6,7,8,9 [0];
Var td=document. QuerySelectorAll (" number ");
For (var I=0; i Td [I] innerHTML=arr. Splice (math.h floor (math.h random () * arr in length), 1) [0].
}
}
</script>



















Thanks, that me that what's the problem

CodePudding user response:

Your code is full of problems
  • Related