<script type="text/javascript">
function randomnumber()
{
var generator = Math.floor(Math.random()*100);
document.test.result.value = generator + ' wpm';
}
</script>
<form name="test">
<input type=button value=Finish onclick="randomnumber()">
Test Result : <input name=result readonly type=text size=6>
</form>
No comments:
Post a Comment