From: Mitch on 16 Dec 2009 19:40 Hi People, First time caller long time observer. I'm creating a form which contains three tables. First two tables contain information such as heading, date, time, user details etc. Table three consists of 2 rows and 5 columns. First row is used for column headings and second row contains form fields where the user can record their data. The first cell of row 2 contains a checkbox and the rest contain text fields. Now, I would like the user to have the ability to add and remove rows at click of a button. After couple hours of researching I figured out the code that will add another row including all the described form fields but I cannot figure out the deletion part. I'm looking for a script that will delete a row in the table based on the condition where checkbox in the targeted row = true (checked). So in the scenario where user wishes to delete certain rows in the table they can just tick the checkboxes in unwanted rows and press the button to delete. If working with checkboxes is difficult I can replace with automated numbers. Much appreciated in advance.
|
Pages: 1 Prev: Generic name for User folder? Next: Detecting selection is in footnotes area |