怎样正确返回上一页面的层??? I believe the browser only remembers the state of forms controls, but not page content, you should not design your page this way 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 建议:你在点击单选框的时候用 cookie 将这个值记录下来,且此页面要不被缓存。然后再写上,当页面被加载的时候先读一下COOKIE里是否有这个值,若有则按此值来控制显示哪个层! <script language="javascript"><!--function swDIV(){ if (document.all.uors[0].checked) {document.all["Layer12"].style.display="none"; document.all["Layer11"].style.display="block"} else {document.all["Layer11"].style.display="none"; document.all["Layer12"].style.display="block"}}//--></script><body onload=swDIV()><input type="radio" name="uors" value="1" checked onclick="swDIV()">aa<input type="radio" name="uors" value="2" onclick="swDIV()">bb <div id="Layer11" style="display:block"> aaaaaaaa </div><div id="Layer12" style="display:none">bbbbbbbb</div> 请教前辈,关于js中如何获取鼠标移动到表格的某个单元格时,自动切换列表? 如何隐藏OutBarFolder1=new Array()按钮 文本框控制的问题 像Dropdownlist那样下拉选择日期的是怎么实现的? asp中table导入excel表格的问题? 表单全部置空 谁能破译这个密码 关于用java读取其他文档里面的信息. 如何知道当前所在table的行号和列号? 求教 clearTimeout无法清除定时器问题 关于帧自动刷新,点击帧所在网页上的连接帧刷新失效的的问题,在线等待急... 有谁做过以E-MAIL的方式,自动发送表单资料?求救于各位高手!!!
<!--
function swDIV()
{
if (document.all.uors[0].checked)
{document.all["Layer12"].style.display="none";
document.all["Layer11"].style.display="block"}
else
{document.all["Layer11"].style.display="none";
document.all["Layer12"].style.display="block"}
}//-->
</script>
<body onload=swDIV()>
<input type="radio" name="uors" value="1" checked onclick="swDIV()">
aa<input type="radio" name="uors" value="2" onclick="swDIV()">
bb
<div id="Layer11" style="display:block">
aaaaaaaa
</div>
<div id="Layer12" style="display:none">
bbbbbbbb
</div>