刷新不改变用户的选择
来源:互联网 发布:mac铁锈红是什么色号 编辑:程序博客网 时间:2024/06/06 02:44
<script LANGUAGE="JavaScript">
<!--
function butnRd(i){
alert(i);
alert(document.cookie);
document.cookie="temp1="+i;
alert(document.getElementsByName("password").length);
for(v=0;v<document.getElementsByName("password").length;v++ ){
document.getElementsByName("password")[v].checked=false;
}
document.getElementsByName("password")[i].checked=true;
}
function loadRn(){
var a=document.cookie.split(';');
var callee=a[0].split("=")[1];
var i=parseInt(callee);
if(i>=0){
i=i-1;
}
for(v=0;v<document.getElementsByName("password").length;v++ ){
document.getElementsByName("password")[v].checked=false;
}
document.getElementsByName("password")[i].checked=true;
}
</script>
<html>
<body onload="loadRn();">
<form name="fmName">
<input type="radio" name="username" onclick="butnRd('0');">
<input type="radio" name="username" onclick="butnRd('1');">
<input type="radio" name="username" onclick="butnRd('2');">
<input type="radio" name="username" onclick="butnRd('3');">
<input type="checkbox" name="password">
<input type="checkbox" name="password">
<input type="checkbox" name="password">
<input type="checkbox" name="password">
</form>
</body>
</html>
- 刷新不改变用户的选择
- vue 改变对象的属性,视图不刷新的问题
- 不刷新页面改变验证码的两种方法
- 关于FragmentPagerAdapter通知数据改变不刷新的问题
- Adapter.notifyDataSetChanged()数据改变却不刷新的原因
- ASP.NET中页面刷新用户选择丢失的问题
- 关于datetimepicker选择时间时 时间不改变的问题
- jquery实现 多选框传值 (用到了 选择触发事件,1、遍历所选 2、不刷新改变地址。 传参)
- 不刷新页面改变下拉菜单内容
- 不刷新页面改变下拉菜单内容
- 不刷新页面改变下拉菜单内容
- 页面刷新后不改变滚动条
- 页面刷新不改变隐藏域内容
- 不刷新改变/更换URL: pushState + Ajax
- 不刷新改变URL: pushState + Ajax
- 不刷新页面改变浏览器地址栏
- ReactNative ListView改变数据源,列表不刷新
- js不刷新页面,改变url
- Easy Code IDE 可视化汇编开发工具
- comboBox控件使用
- C#中自定义快捷键【转载】
- js验证大全
- PHP中图片实现等比例不失真缩放
- 刷新不改变用户的选择
- C#编程方式使用Silverlight toolkit Chart
- 【oracle序列专题】(转载)
- java.Servlet.GenericServlet中有两个init方法
- SilverLight3的Chart的一些技巧
- 抓取并处理WEB页面数据(CURL/DOM)
- 一个女中医的保养之道
- 修正IE6不支持position:fixed的bug
- Windows CE 6.0 安装顺序