<img src="n.gif?u=<script>document.write(Math.random());</script>" />
这样不行!该怎么写啊?
顺祝中秋快乐:)
------解决方案--------------------
- JScript code
<img src="n.gif?u=" id="randimg"/> <script> document.getElementById("randimg").src+=Math.random(); </script>
<img src="n.gif?u=" id="randimg"/> <script> document.getElementById("randimg").src+=Math.random(); </script>