Could you point a way to hide/show a division under circunstaces by using Bootstrap?
Hi Experts
Could you point a way to hide/show a division under circunstaces by using Bootstrap?
Accordingly to:
By fiiling Houve Custo with Sim (Yes) the element Custo and the division with the 02 elements
Houve Reembolso? and Reembolso must appear.
<!-- EF Set/2016 - div--> <div id="divReembolso" class="hide"> <div class="row"> <!-- EF Set/2016 - Houve Reembolso?--> <div class="col-xs-4 mb20"> <label for="houve_reembolso" class="field-label text-muted mb10">Houve Reembolso?</label> <label for="houve_reembolso" class="validar field select"> <select name="houve_reembolso" id='houve_reembolso'> <option value="">Selecione ...</option> <option value="S">Sim</option> <option value="N">Não</option> </select> </label> </div> <!-- EF Set/2016 FIM - Houve Reeembolso --> <!-- EF Set/2016 - Reembolso?--> <div class="col-xs-4 mb20 reembolso" style="display: none;"> <label for="reembolso" class="field-label text-muted mb10">Reembolso</label> <div class="input-group"> <span class="input-group-addon"> <i class="fa fa-money c-gray"></i> </span> <span class="validar"> <input type="text" name="reembolso" id="reembolso" class="form-control gui-input br-light light" placeholder=""> </span> </div> </div> <!-- EF Set/2016 FIM - Reeembolso --> </div> </div> <!-- EF Set/2016 FIM - div -->
I just omit the { } in the jquery else. That's the problem.
Open in new window
Open in new windowIt runs that way