<div class="row">
<div class="form-group col-md-3">
<label for="servico">Serviço</label>
<select>
<option value="200">Escapamento / Montagem R$ 100</option> </select>
</div>
<div class="form-group col-md-4">
<label for="valorTotal">Total</label>
<input type="text" class="form-control" id="valorTotal" name="valorTotal" value="" readonly >
</div>
</div>
Good morning people.
I have a select that displays the service name, part value, and assembly. I wanted that when selecting the service, 200 + 100 should be added and presented in another input.
This would be my select:
<div class="row">
<div class="form-group col-md-3">
<label for="servico">Serviço</label>
<select>
<option value="200">Escapamento / Montagem = 100</option> </select>
</div> </div>
<div class="form-group col-md-4">
<label for="valorTotal">Total</label>
<input type="text" class="form-control" id="valorTotal" name="valorTotal" value="" readonly >
</div>
</div>
Can I do this with JQuery?