<html>
<head>
<title>Lottery Number</title>
</head>
<script type="text/javascript">
lotnum = new Array();
var t;
for (t=1; t<=49; t++)
{
lotnum[t-1] = t;
}
lotnum.sort( function(){ return Math.round( Math.random() ) - 0.5 ; } );
var counter;
for (counter=0; counter<=5; counter++)
{
document.write("號碼"+counter+":"+lotnum[counter]+"</br>");
}
document.write("特別號"+":"+lotnum[6]+"</br>");
</script>
</html>
沒有留言:
張貼留言