html图片点击进行刷新
<body> <img id="img1" src="http://127.0.0.1:8081/t1/img" onclick="updateImg1()"> </body> <script> function updateImg1(){ $("#img1").attr("src","http://127.0.0.1:8081/t1/img?t1"+new Date()); } </script>
<body> <img id="img1" src="http://127.0.0.1:8081/t1/img" onclick="updateImg1()"> </body> <script> function updateImg1(){ $("#img1").attr("src","http://127.0.0.1:8081/t1/img?t1"+new Date()); } </script>