Tip: You can modify some of the code before running
<ptml> <pead> <meta http-equiv= "Content-type" content= "text/html; charset=gb2312 "> <title> random data display function, selector </title> </pead> <body> refresh See <br> <script language= "JavaScript" > Function QuickPick () { var ball for (ball = 0; ball < 5; ball++) { This[ball] = parseint ((math.random () * MATH.POW (10,16))% 49) + 1; for (var list = 0; list < ball; list++) { if (this[list] = = This[ball]) { list = ball; ball--; } } } This[ball] = parseint ((math.random () * MATH.POW (10,16))% 42) + 1; return this; } </script> <script language= "JavaScript" > var idx; var powerball = new Array (6); Powerball = this. QuickPick (); document.write ("<center>"); document.write ("Sports Lottery ticket selector"); document.write ("<pr width=400><font size=+2>"); for (idx = 0; idx < 5; idx++) document.write (Powerball[idx] + "-") DOCUMENT.WR Ite ("</font><font color= #D00000 size=+2>" + powerball[idx] + "</font>"); document.write ("</center>"); </script> </body> </ptml>
Tip: You can modify some of the code before running