按照给定的HTML,它虽然具有为模式为什么选择两个单选按钮?
<div class="row margin-top">
<div class="col-md-3 col-md-offset-1">
<form action="" method="post">
<div class="form-group">
<label>
<input type="radio" value="keyword" name="mode">
Search by Keyword
</label>
</div>
</form>
</div>
<div class="col-md-5">
<form action="" method="post">
<div class="form-group">
<input type="text" name="keyword" class="form-control">
</div>
</form>
</div>
</div>
<div class="row margin-top">
<div class="col-md-11 col-md-offset-1">
<form action="" method="post">
<div class="form-group">
<label>
<input type="radio" value="criteria" name="mode">
Search by Criteria
</label>
</div>
</form>
</div>
</div>
因为它们有两种不同的形式 – Bsienn
不同的形式? –