0
我想啓用輸入表單時,我檢查輸入複選框。複選框啓用/禁用jquery
<div class="form-group clearfix">
<input type="checkbox" id="work" class="pull-left" />
<label for="work" class="form-info pull-left">
{!! Form::number('work', null, ['class' => 'form-control work','placeholder' => 'Nghề nghiệp'])!!}
</label>
</div>
<div class="form-group clearfix">
<input type="checkbox" id="city" class="pull-left" />
<label for="city" class="form-info pull-left">
{!! Form::number('city', null, ['class' => 'form-control city','placeholder' => 'Thành phố'])!!}
</label>
</div>
,你的意思是不可點擊字面上禁用?禁用表單元素將阻止它在提交時處理,我會顯示/隱藏 – clearshot66