I receive this error:
'document.getElementById(...)' is null or not an object
on IE only when not in compatibility view.
This is the code that the error is alluding to:
var ccurrentImage;
function cshowBigImage( cisource,cbigImage,cheader ) {
var ctheImage = document.getElementById( 'clargeimage' );
ctheImage.src = cisource;
ccurrentImage = cbigImage;
document.getElementById('cphotoHeader').innerHTML=cheader;
document.getElementById( 'clargeimage' ).alt=cheader;
'document.getElementById(...)' is null or not an object
on IE only when not in compatibility view.
This is the code that the error is alluding to:
var ccurrentImage;
function cshowBigImage( cisource,cbigImage,cheader ) {
var ctheImage = document.getElementById( 'clargeimage' );
ctheImage.src = cisource;
ccurrentImage = cbigImage;
document.getElementById('cphotoHeader').innerHTML=cheader;
document.getElementById( 'clargeimage' ).alt=cheader;