我做了一个点击按钮显示隐藏的表格的页面,但是每次点完后都要重新刷新页面,导致我查询出的东西刷没了...
下面是我的代码 请高手帮忙啊
<script>   
      function   Show(){   
        if(custom.style.display==""){   
          custom.style.display='none';}   
        else   
          custom.style.display='';  
  form1.action="/hloss/consultation.htm?strCustomSearch=CustomSearch";
        form1.target = "frcont"; 
      }   
  
</script> 
  
  <td width="14%"><div align="center">
      <input name="serrch" type="button" class="hlcbutton" onClick="Show();" value="用户查询">
</td><table   id="custom"   style="display:none">
<td width="6%" height="20" align="left" class="table-font-bg"><div align="right">客户姓名:</div></td>
      <td width="36%" height="20"><input name="custname" type="text" id="custname" size="35" value="$!hCustName1.get($key)"></td>
</table>