What I have is a form, with dropdowns for washerA1, washerB1. THey are populated with a javascript that is run when the page is opened:
Code:
addOption(document.ordform.washerA1, prodlist1[i], [i]);
And below is a link that adds another row with washerA2, washerB2... upt to 5 time (washerA5, washerB5)...
So, I have the code to populate each new dropdown:
Code:
for (var i=0; i < prodlist1.length;++i){
addOption(document.ordform.washerA2, prodlist1[i], [i]);
}
Evertime a new row is added, the var washerCount is incresed to reflect the row number... the number in washerA2.
I am trying to use the var washerCount to populate the new droplist... instead of making a new call to the addOPtion function for each new row...
I will post a link as soon as I get it online![/code]