aspx
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
<head runat="server">
    <title>无标题页</title>
    <script language ="javascript"  src ="../Show.js"></script>
</head>
        <hr />
        
<INPUT class="ButtonCss" id="btn_Field" onclick="show_Other()" type="button" value="其它查询选项>>>"
                                            name
="Button1">
        
<hr />
        
<TABLE class="GbText" id="table_Other" style="display:none" borderColor="#93bee2"  
                                            cellSpacing="0" cellPadding="0" width="100%" border="1">
                
<tr>
                             
<TD style="WIDTH: 91px; HEIGHT: 26px" height="26">
                                                    
<asp:checkbox id="cbx_4050" runat="server" Text="统计年龄段"></asp:checkbox></TD>
                            
<TD style="HEIGHT: 25px" height="25">
                        dfgfdgdfh
</TD>
                
</tr>                            
       
</TABLE>    
JS: (文件名: Show.js)
function show_Other()
{
    
if(document.getElementById("table_Other").style.display=="none")
 
{
  document.getElementById(
"table_Other").style.display="block"
  document.getElementById(
"btn_Field").value = "其它查询选项<<<";
 }

 
else
 
{    
  document.getElementById(
"table_Other").style.display="none";
  document.getElementById(
"btn_Field").value = "其它查询选项>>>";
 }
  
}
posted on 2006-12-24 22:45  ipusr  阅读(1124)  评论(0)    收藏  举报