<script> function show(){ var myTable= document.getElementById("myTable"); myTable.style.display ="block"; } function hidden(){ var myTable = document.getElementById('myTable); myTable.style.display ="none"; } </script>
<input type="button" name="button" value="显示" οnclick="show()"> <input type="button" name="button" value="隐藏" οnclick="hidden()"> <table width="200" id="myTable" border="0" align="center" cellpadding="1" cellspacing="0" style="display: none"> <tr> <td height="60" align="center" class="hong12">显示table信息</td> </tr> </table>