帮帮忙,为啥提示框不能出来
<script type="text/javascript" language="javascript">
var num1=document.form1.num1.value;
var num2=document.form1.num2.value;
var num3;
num3=Math.round(Math.random()*5+1)
document.form1.num3.value=num3;
alert(num3);
</script>
</head>
<body>
<form name="form1" method="post">
随机数产生范围下限:
<p>
<input type="text" name="num1" value="1"/>
</p>
随机数产生范围上限:
<p>
<input type="text" name="num2" value="100"/>
</p>
</form>
<input type="button" name="num3" value="数学运算" onclick="yunsuan()"/>
</body>