Hello,
I believe that this has been answered somewhere but I cannot find it. I
have 51 textboxes on page. In 50 I can enter value. 51st should tell me
what is average of entered numbers.
As user types I want script to iterate trough form count and sum
non-empty fields and than divides this two numbers.I need to sum values
from fields that have value (not emty fields) and to divide this number
by number of non empty fields. This should occur on every change in any
of those 50 textboxes so to have live preview of average.
I'm really new to JS and I don't know even how to sum these numbers.
Thanks for response.