Hi everyone.

Sorry - also posted this on HTML forum by mistake.

Fairly new to html. Any ideas why this little bit of code doesn't work in IE but fine on Chrome:

<script type="text/javascript">
var reimg
window.onload=function () {
setInterval(function () {
reimg.src=reimg.src.replace(/\?.*/,function () {
return '?'+new Date()

<img src="" id="re" width="" height="">

Any help would be very much appreciated!