Good afternoon everyone.
I need your help. I have the following select multiple:
<select id="precoFruta" multiple name="valores">
<option value="1.5">Macã - R$1,20</option>
<option value="2.5">Uva - R$2,50</option>
<option value="1.0">Limão- R$1,00</option>
</select>
As the user selects 1 or more fruits, another field is displayed as the result of this sum:
<input type="text" class="form-control" id="valorTotal" name="valorTotal" value="" >
How can I do this with JQuery?