Friday 23 August 2013

'document.prodimage' is null or not an object

'document.prodimage' is null or not an object

I am getting Java script error while loading page in IE8 on Windows 7:
'document.prodimage' is null or not an object.
I removed my dynamic proprietary code that functions as API calls to grab
data, so areas that read: "" is where I dynamically grab stuff, like
images & links, based on what product someone is looking at. Anyways, not
the problem, here it is:
<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>

No comments:

Post a Comment