2
Good morning, I have this code to update the total.
I need to exchange the .(dot) for ,(comma). How do I do?
Code :
<script type="text/javascript">
$(document).ready(function() {
$("#evento_quantidade").change(function() {
var qtd = $(this).val();
var valor = $("#precoSoma").val();
var calculo = qtd * valor;
var n = calculo.toFixed(2);
$("#total_compra").val(n);
});
});
</script>
Perfect :D abç Lek
– Betinho Silva