views:

20

answers:

0

Hello:

I have a "main" window with a table containing a series of form text fields with ids that increment (e.g., field_1, field_2 ... field_n). I need to populate the value of these fields from selections a user makes from a child window that has a list of about 1400 choices. This is done via an "Add" button with an onclick that passes the appropriate values to the main window fields - the user can click the "Add" button as many times as they want to add additional values to the main form fields. Appending to DOM is not acceptable; the main form fields must be pre-built. I can get 1 Add event to work, but cannot increment to the next set of fields (in the next table row). Any thoughts would be greatly appreciated.