class function undefined in ie11 code example
Example: function undefined error in internet explorer
<img id="foo" src="images/image.png" alt="Show" height="10" width="18" align="absmiddle" onclick="function()" />
<img id="foo" src="images/image.png" alt="Show" height="10" width="18" align="absmiddle" onclick="function()" />