Unable to view your sandbox. I get an error of “Sandbox not found”.
If you want all the changes to happen on a single update button, then create a button that updates all of the legs at the same instead of using an onchange event for each field. I would have a single form for all the updates and use fieldset to contain the fields for each leg.
I apologize i did not understand your advice. i need the user to be able to edit each leg that’s why I have onchange event on each leg. However onchange doesn’t update the array and I am unable to figureout how to update all the changed objects with in array all at once.
I made a minimal representation of what I am talking about. may be it should be easy to understand.