0
então galera tenho seguinte codico
function calcularFinal() {
var contas = document.querySelectorAll("#produ");
var total = 0 ;
for(var i= 0; i<contas.length; i++){
var conta = parseFloat(contas[i].value.replace(',','.'));
var valor = (conta+valor);
}
console.log(valor);
}
she picks up several inputs with even ids on them nothing more has than a float value just wanted to sum them all more n I’m getting until weighed q was because of the comma
vlw friend by tip guess q was that same q you said id should be only obg by tips S2 worked perfectly
– joao_vitor
Please, we’re here to help.
– Marcos Alexandre