<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>新建网页 1</title>
</head><body>
<input type="radio" name="ck" value="1" />ra1
<input type="radio" name="ck" value="2" />ra2<input type=button onclick=document.all.ck[0].checked=true>
<input type=button onclick=document.all.ck[1].checked=true>
</body></html>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>新建网页 1</title>
</head><body>
<input type="radio" name="ck" value="1" />ra1
<input type="radio" name="ck" value="2" />ra2<input type=button onclick=document.all.ck[0].checked=true>
<input type=button onclick=document.all.ck[1].checked=true>
</body></html>
解决方案 »
- 麻烦大家帮我看看这段js是什么意思,拜托各位了。。
- 求好用的jquery分页插件
- |zyciis|第二贴 200分求:如何判断一段HTML放进一个新建的DIV后,这个DIV的高和度是多少呢; ||为什么我的宽变小了,而高没有变大呢 谢谢
- 高分,求教怎么判断一个Label可见不可见
- 跟数据库连接起来,生成动态树状菜单的问题~~,问题解决马上给分~~ 第三次发贴了
- 验证问题!只有这点分了,应该很简单的!
- 刺手问题,高手请进
- 关于多个JSON的合并问题
- 【jQuery】请教一个事件问题
- MyBatis出错应该怎么改正,在那个文件里改?
- 有关上传文件用js验证的问题
- 用createPopup做的3级菜单 为什么第2级的菜单会
稍微修改一下就可以了
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head><body>
<input type="radio" name="rk" value="aaa" />1
<input type="radio" name="rk" value="bbb" />2
<input type="button" value="选择1" onclick="document.getElementsByName('rk')[0].checked = true;" />
<input type="button" value="选择2" onclick="document.getElementsByName('rk')[1].checked = true;" />
</body>
</html>