-1

Hi,
The dynamically created rows are appended at the end of the table i.e. after the last row of the table (found by table.rows.length)
and those individual <tr> contains 8 more <td>s carrying some texts and their respective text fields.
Now we have one such default <tr> , which also contains button for adding more row , onclick of which the addRow() function is called to create the dynamic row each time.
The code is created dynamically that's fine so far.
But when the form is submitted the default textfield's (from the default<tr>) values are found in the echo of post data but not other .
The same script works fine in IE and shows all the elements textfield's values in the textfield POST data along with the default one, after form submit echo.

2
Contributors
1
Reply
7
Views
7 Years
Discussion Span
Last Post by Banderson
0

Hi,
The dynamically created rows are appended at the end of the table i.e. after the last row of the table (found by table.rows.length)
and those individual <tr> contains 8 more <td>s carrying some texts and their respective text fields.
Now we have one such default <tr> , which also contains button for adding more row , onclick of which the addRow() function is called to create the dynamic row each time.
The code is created dynamically that's fine so far.
But when the form is submitted the default textfield's (from the default<tr>) values are found in the echo of post data but not other .
The same script works fine in IE and shows all the elements textfield's values in the textfield POST data along with the default one, after form submit echo.

And this post means what? Sorry, but it seems pretty much meaningless, even after reading it 3 times.

No Code = No Help

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.