您的位置:首页 > Web前端 > JQuery

jQuery判断单选框是否被选中

2014-05-27 10:35 309 查看
<!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" />
<script language="javascript" src="js/jquery-1.7.min.js"></script>

<title>jQuery<strong>判断</strong>单选框<strong>是否</strong>被<strong>选中</strong></title>

</head>

<body>

<input type="radio" name="a"  value="1"/><input type="radio" name="a" value="2"/><input type="radio" name="a" value="3"/><br>

<input type="radio" name="b"   value="a"/><input type="radio" name="b" value="b"/><input type="radio" name="b" value="c"/><br>

<input type="radio" name="c"  value="11"/><input type="radio" name="c" value="22"/><input type="radio" name="c" value="33"/><br>

<input type="radio" name="d"    value="111"/><input type="radio" name="d" value=&quo…………………………………………………………………………<p style="COLOR: red; FONT-SIZE: 16px"><strong>原作者:<a target=_blank href="http://www.verydemo.com/demo_c110_i11654.html" target="_blank">http://www.verydemo.com/demo_c110_i11654.html</a></strong></p>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: