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

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -