views:

37

answers:

1

Has anyone else had this problem or know of a workaround? Here's a quick example of a block of code that doesn't work in IE8, but is fine in FF.

HTML:

<h1>Toggle Test</h1>
<a onclick="toggleme();">Click here</a>
<table>
    <tr><td>Some visible text</td></tr>
    <tr id="hidden" style="display:none;"><td>Some hidden text</td></tr>
</table>

Javascript:

function toggleme()
{
    jQuery('#hidden').toggle();
}
+1  A: 

There is an issue if you are using jquery-1.3.2. Here is a solution.

Teja Kantamneni