Forum Moderators: not2easy
I'm having some issues with 'visibility:collapse'. The text is hidden when rendered through FF until the button is pressed, but IE just displays it anyway, pressed or not.
Heres my code....
-----------------------------------------------------------------
<input type="button" value="Display the text..." onclick="document.getElementById('myTable').style.visibility = 'visible'">
<table id="myTable" style="visibility:collapse">
<tr><td>This text should not be shown until the button is pushed!</td></tr>
</table>
<HR>
-----------------------------------------------------------------
Any ideas?
Thanks all :)