<html>
<body>
<form action="" name="form1" method="post">
<br />
<label style="cursor:pointer" for="man">
<input type="radio" value="男" name="man" id="man"/>男
</label>
<label style="cursor:pointer" for="man2">
<input type="radio" value="女" name="man" id="man2"/>女
</label>
</form>
<input type="radio" id="male" name="sex" checked="checked"/><label style="cursor:pointer" for="male">男1</label>
<input type="radio" id="female" name="sex" /><label style="cursor:pointer" for="female">女1</label>
</body>
</html>
点击文字让radio选中
猜你喜欢
转载自fanjf.iteye.com/blog/1921819
今日推荐
周排行