<html>
<head></head>
<body>
    <ul>
      <li><input type="checkbox" value="E" id="q15_5" name="q15[]" /><label for="q15_5"> E 其他</label></li>
    </ul>
</body>
</html>
注意for与id。
input text框和 checkbox 连带被选中的情况
原文:https://blog.51cto.com/u_2870645/2875912