Posts by John Elder • 11 points
1 post
-
1
votes1
answer42
viewsQ: Sum optin: how to do?
$( ".form-control" ).blur(function(){ calcular(); }); function calcular() { var soma = 0; $( ".form-control").each(function(indice, item){ var valor = parseFloat($(item).val()); console.log(valor);…