Javascript onclick event is not working in internet explorer 8.
- by Mallika Iyer
Hi,
I have the following line of code that works fine in Firefox, Chrome and Safari, but not in internet explorer 8.
<a href="javascript:void(0);" onclick="showHide('reading','type_r','r');">Show me the example</a>
The function simply shows and hides a div on clicking the hyperlink.
Is there anything I'm missing here?
This is the…