Encountering a JavaScript error in IE8 on Windows 7 when loading the page: document.prodimage
is null or not an object.
I have excluded my custom dynamic code responsible for API calls to fetch data, which populates elements such as images & links based on the user's product selection. However, this does not seem to be the cause of the issue. Here's the snippet:
<a rel="position:'inside',showTitle:false,adjustX:-4,adjustY:-4" href="">
<img border="0" class="prodimage" id="prodimage" src="" width="200" height="200" alt="" onMouseover="document.prodimage.src='';" style="margin-right:auto;margin-left:auto;display:block;"/>
</a>