FredClausen said:I think if you look at code examples for onmouseover events for swapping images and change onmouseover to onclick, it will work for you.
joecool85 said:function reloadImage()
{
img = document.getElementById('theimage');
img.src = '2.jpg?' + Math.random();
}
alert ("2.jpg?"+Math.random())