1 <script type="text/javascript">
2 function refreshVerify(){
3 var imgId = document.getElementById("getVerify");
4 imgId.src = "getVerify.php?ran=" + Math.random();
5 }
6 </script>
7
8 ================================
9
10 <a href='javascript:refreshVerify();'>
11 <img id='getVerify' src="getVerify.php" alt="" title="点击刷新"/>
12 </a>