求助...................
<script language="JavaScript">
function showdiv(){
if (photo.style.display = "none"){
photo.style.display = "";
}
if (photo.style.display = ""){
photo.style.display = "none";
}
}
</script>
<a href="#" onClick="javascript:showdiv();">on/off</a>
<div id="photo" style="display:none">
<table width="90%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>show content</td>
</tr>
</table>
</div>
想实现点击显示,再次点击隐藏,,,,,,,,可是不行,哪位高手帮一下......