首页 > 其他 > 详细

input text框和 checkbox 连带被选中的情况

时间:2021-06-07 20:10:40      阅读:16      评论:0      收藏:0      [点我收藏+]
<html>
<head></head>
<body>
    <ul>
      <li><input type="checkbox" value="E" id="q15_5" name="q15[]" /><label for="q15_5"> E&nbsp;其他</label></li>
    </ul>
</body>
</html>

注意for与id。

input text框和 checkbox 连带被选中的情况

原文:https://blog.51cto.com/u_2870645/2875912

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!