I have a code which make input visible... <span onClick="document.getElementById('test').style.display = 'block';">show div</span> <div style="display:none;" id="test" name="test"> <textarea name="p_description" id="p_description" cols="45" rows="5"></textarea> </div> HTML: But it doesn't work, if I insert in div, one table and text. What must I do to make visible hole table with content. Thanks
You mean this: <span onClick="document.getElementById('test').style.display = 'block';">show div</span> <div style="display:none;" id="test" name="test"> <table width="100%"> <tr> <td> Show something </td> </tr> </table> </div> HTML: Works fine for me! (tested on FF 2.0.0)