我目前正在使用Bootstrap 3.从bootstrap文档中,我发现fieldset可以启用和禁用表单字段。那么,如何使用无线电控制打开和关闭?
HTML广播控制
<form>
<div class="form-inline">
<label for="inputPassword" class="col-sm-6 control-label content_label"
style="margin-right:20px"> Do you want to change password ? </label>
<div class="radio">
<label>
<input type="radio" name="optionsRadios" id="optionsRadios1"
value="option1" >
Yes
</label>
</div>
<div class="radio" style="margin-left:10px;">
<label>
<input type="radio" name="optionsRadios" id="optionsRadios2"
value="option2" checked>
No
</label>
</div>
</div>
</form>