style.display='none'属性问题

lixiaoliyubolioxiao 2010-12-26 12:43:33
大家帮忙看看,为什么我style.display='none'没有他刷新后它总是展开的,应该是收起的啊



onClick="InfoCode18.style.display='none';InfoCode19.style.display='none';InfoCode20.style.display='none';InfoCode21.style.display='none';" checked> 隐藏设置窗口

这句为什么没有啊









<tr>
<td align="right" class="tablerow2">内容过滤设置:</td>
<td class="tablerow2"><Input type="radio" value="0" name="selfont18"

onClick="InfoCode18.style.display='none';InfoCode19.style.display='none';InfoCode20.style.display='none';InfoCode21.style.display='none';" checked> 隐藏设置窗口

  <Input type="radio" value="1" name="selfont18"

onClick="InfoCode18.style.display='';InfoCode19.style.display='';InfoCode20.style.display='';InfoCode21.style.display='';">打开设置窗口  <font color='red'></font></td>
</tr>
<tr id="InfoCode18" style="display:'none';">
<td align="right" class="tablerow1">内容过虑字符一:</td>
<td class="tablerow1"><textarea name="FindInfoCode18" rows="5" cols="80"><%=Server.HTMLEncode(strFindInfoCode(18))%></textarea></td>
</tr>
<tr id="InfoCode19" style="display:'none';">
<td align="right" class="tablerow2">内容过虑字符二:</td>
<td class="tablerow2"><textarea name="FindInfoCode19" rows="5" cols="80"><%=Server.HTMLEncode(strFindInfoCode(19))%></textarea></td>
</tr>
<tr id="InfoCode20" style="display:'none';">
<td align="right" class="tablerow1">内容过虑字符三:</td>
<td class="tablerow1"><textarea name="FindInfoCode20" rows="5" cols="80"><%=Server.HTMLEncode(strFindInfoCode(20))%></textarea></td>
</tr>
<tr id="InfoCode21" style="display:'none';">
<td align="right" class="tablerow2">内容过虑字符四:</td>
<td class="tablerow2"><textarea name="FindInfoCode21" rows="5" cols="80"><%=Server.HTMLEncode(strFindInfoCode(21))%></textarea></td>
</tr>
...全文
1547 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

28,390

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧