像这样但对于字母表:
<p id="result"></p> <!-- this is code for random num gen ,I need something like this for alphabet.-->
<script>
var intrvl = setInterval(numbFunction, 500); //repeat function after 1.5 seconds(1500 ms)
function numbFunction() {
var x = Math.floor(Math.random() * 10 + 1); //return a random no. between 1 to 10
document.getElementById("result").innerHTML = x;
}
</script>
慕莱坞森
摇曳的蔷薇
狐的传说
相关分类