随机数据显示功能、选号器
<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("体育彩票选号器"); document.write("<hr width=400><font size=+2>"); for(idx = 0; idx < 5; idx++) document.write(powerball[idx] + " - ") document.write("</font><font color=#D00000 size=+2>" + powerball[idx] + "</font>"); document.write("</center>");</script>查看/参与:讨论/评论 相关文章:Javascript
- 联系我们: QQ:82526114(技术) 411523648(客服) 237057746(财务)
- 电话:+86-762-4372098 邮箱:webmaster@814e.net,support@814e.net
- 粤ICP备05002242号 网监局备案:4403701910502
