下拉选项绑定文字(点击文字后勾选项可以进行勾选)

通过input标签 ID属性进行传值给  
label标签 for属性  进行绑定

<p>
<input type="checkbox" checked="checked" id="service">
<label for="service">统一服务条款</label>
</p>
<p>
<input type="submit" value="确认提交">
</p>

猜你喜欢

转载自www.cnblogs.com/liyunchuan/p/11601068.html
今日推荐