lundi 28 août 2017

checkbox enable/disable in jquery

i wanna enable input form when i check input checkbox

 <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>



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire