I am accessing a link on my site that will provide a new image each time it is accessed.
The issue I am running into is that if I try to load the image in the backgr
The following code is useful to refresh image when a button is clicked.
function reloadImage(imageId) { imgName = 'vishnu.jpg'; //for example imageObject = document.getElementById(imageId); imageObject.src = imgName; }