javascript - Unable to get property 'style' of undefined or null reference in IE 11 -
i getting error "unable property style of null reference" value of "a" comes null in ie 11. same code works fine in ie 8. element defined in div tag. not sure issue here.
document.getelementbyid("a").style.display = "block"; <div id="a" style="display:none"><img src="/images/ajax-loader.gif" /></div>
you missing start "
in attribute src
<img src="/images/ajax-loader.gif" />
Comments
Post a Comment