`
fanjf
  • 浏览: 297168 次
  • 性别: Icon_minigender_1
  • 来自: 安徽
社区版块
存档分类
最新评论

点击文字选中radio

JS 
阅读更多

<html>
<title>点击文字选中radio</title
<body>
   <form action="" name="form1" method="post">
     <label style="cursor:pointer" for="man">
     <input type="radio" value="男" name="sex" id="man" checked="checked"/>男性
     </label>

  <br/>
  <br/>

     <label style="cursor:pointer" for="female">
     <input type="radio" value="女" name="sex" id="female"/>女性
  </label>
   </form>

</body>
</html>

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics