Hi and TIA,
I would like to add elements into a control array and need some help.
What I would like to do is:
On the page, when the (+) is clicked add an element to the control array
HTML Page Example below:
Before clicking the (+)
the first time:
+
After clicking the (+) the first time:
- Name1 Address1
+
After clicking the (+) a second time:
- Name1 Address1
- Name2 Address2
+
Also when clicking the (-) on a row that row would leave...
How do I create these elements dynamically so that everytime the plus is clicked a new element will be added or when the minus is clicked they are removed?
I would like to add elements into a control array and need some help.
What I would like to do is:
On the page, when the (+) is clicked add an element to the control array
HTML Page Example below:
Before clicking the (+)
the first time:
+
After clicking the (+) the first time:
- Name1 Address1
+
After clicking the (+) a second time:
- Name1 Address1
- Name2 Address2
+
Also when clicking the (-) on a row that row would leave...
How do I create these elements dynamically so that everytime the plus is clicked a new element will be added or when the minus is clicked they are removed?