I have a form with textfields that are dynamically created and named from a recordset. There are 2 textfields created by each record Ex. sAccountId1, sAmount1 and are incremented based on the number of records. The record count is stored in another textfield. I need to use javascript to add up all of the sAmount1 thru sAmount...20 when one of those textfields change. I have tried using a for loop but am not real sure how to do this. I am really new to javascript. I have mostly been programming in vbscript in the past.
Any help would be appreciated.
Any help would be appreciated.