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

时间:2021-06-07 20:10:40   收藏:0   阅读:16
<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。

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

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!