Question
Adding new rows
I found some javascript code that will add extra rows when a
button is clicked, and delete exisitng rows with anohter button.
Everything works fine, but I have two questions.
The first line I create in html, using <td align="center">. The javascript dose not seem to allow that, so the next row is out of alignment and I have to use to align/center with the first row. I tried to modify the javascript to add the align, but it will not work and blows up. How do I modifiy the javascript code so that the next line created aligns with the first line ?
The second question is how do I modify the javscrpt code to validate that each of fields created in the next row are requried for entry ?
Thanks for any help.
The first line I create in html, using <td align="center">. The javascript dose not seem to allow that, so the next row is out of alignment and I have to use to align/center with the first row. I tried to modify the javascript to add the align, but it will not work and blows up. How do I modifiy the javascript code so that the next line created aligns with the first line ?
The second question is how do I modify the javscrpt code to validate that each of fields created in the next row are requried for entry ?
Thanks for any help.
