Hi list I have the next code, but how can be made better?
var i; var suma=0; var valor; for(i=1; i<=24; i++){ valor=$F( 'quincena_'+ i).strip(); if(valor!='' && !(isNaN(valor))){ suma+=parseFloat(valor,10); } } -- ________________________________________ Lo bueno de vivir un dia mas es saber que nos queda un dia menos de vida --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---