<input id="rqn" readonly="" size="10" type="text" />
<input onclick="rqn()" style="cursor: pointer;" type="button" value="1-70 的亂數" />
<input onclick="rqn()" style="cursor: pointer;" type="button" value="1-70 的亂數" />
<script>Function rqn(){
document.getElementById("rqn").value=Math.floor(Math.random()*70+1);
}
rqn();
</script>
document.getElementById("rqn").value=Math.floor(Math.random()*70+1);
}
rqn();
</script>