Hi guys,
straight to the point.
i have a function called count. I'm trying to loop through the array or what is it called. But I only getting the last number in the array. It isnt calculating.
here is my code
function count()
var getal =document.getElementsByName("subtots");
var lengte = getal.length;
var som=0;
for(var i = 0; i <= lengte; i++ )
som=+ parseFloat(getal[i].value.replace(',','.')) || 0;
please help?!