HTML的代码如下:<form method="post" action="show.php">
<img id="num" src="changecode.php"/>
<a href="#" onClick="newnum(); return false;">看不清楚,换一张</a>
</form>
<script>
function newnum(){
var image=document.getElementById('num');
image.src="changecode.php?time="+new Date().getTime();
}
</script>
我知道是newnum()函数的问题,不知道要怎么改。