<script language="javascript">
<!--
function Change(targetID){
if(document.getElementById){
var target = document.getElementById(targetID);
if(target.style.display =="none"){
target.style.display ="";
}
else{
target.style.display ="none";
}
}
}
-->
</script>
<a οnclick="Change('MyDiv');return false;" href="./#">View/Hide</a>
<div id="MyDiv">
<table width="200" border="1" cellspacing="1" cellpadding="1">
<tr>
<td> 显示、隐藏</td>
<td> 显示、隐藏</td>
</tr>
<tr>
<td> 显示、隐藏</td>
<td> 显示、隐藏</td>
</tr>
</table>
</div>
<!--
function Change(targetID){
if(document.getElementById){
var target = document.getElementById(targetID);
if(target.style.display =="none"){
target.style.display ="";
}
else{
target.style.display ="none";
}
}
}
-->
</script>
<a οnclick="Change('MyDiv');return false;" href="./#">View/Hide</a>
<div id="MyDiv">
<table width="200" border="1" cellspacing="1" cellpadding="1">
<tr>
<td> 显示、隐藏</td>
<td> 显示、隐藏</td>
</tr>
<tr>
<td> 显示、隐藏</td>
<td> 显示、隐藏</td>
</tr>
</table>
</div>