I created a JSP page which takes data from the database and then creates a table with for each of the result row, placing the values in text boxes. The form has an Add Row and Delete Row button which allows users to delete existing rows or add new rows to the table using Javascripts. When user submits the form, the servlet takes the data and stores them to the database.

For some reason, in FireFox the system doesn't save the info from the newly added rows. I checked and it turns out the data from the newly added rows don't get included in the form submission for some reason. For example, a table has 4 rows, but only the 2 existing rows get submitted.

Any idea what could be the problem?

Thanks in advance.