CodePudding user response:
<body> First prize: one million & lt;/div>
<script>
Var arr=[' name ', 'name', 'name', 'name', 'name', 'name', 'name', 'name', 'name'].
Var oDiv=document. GetElementsByTagName (" div ") [0];
Var oBut=document. GetElementsByTagName (" button ") [0];
//random play
Var timer=setInterval (function () {
Var index=parseInt (Math. The random () * arr in length).
ODiv. InnerHTML=arr [index];
}, 10);
</script>
<script>
Var arr=[' name ', 'name', 'name', 'name', 'name', 'name', 'name', 'name', 'name'].
Var oDiv=document. GetElementsByTagName (" div ") [0];
Var oBut=document. GetElementsByTagName (" button ") [0];
//random play
Var timer=setInterval (function () {
Var index=parseInt (Math. The random () * arr in length).
ODiv. InnerHTML=arr [index];
}, 10);
</script>