I have a table with one column and about ten rows. The first column contains rows with text in the form of row headings, "heading 1", "heading 2". The second column contains fields for user input (text fields and check boxes).
I want to have a button at the top that says "Add New ..." and create a third column with the same fields as the first column. If the user clicks on it again, he will create another empty column with fields (as in the second column).
Does anyone know of an efficient way to manage the DOM to achieve this?
I'm experimenting with divand TABLES, but I'm on my third day of it, and it seems harder than it should be.
Chris
source
share