Hi everyone,
I have a requirement wherein I need to dynamically create a row containing: a Select box (drop down) and a Textbox dynamically every time a button (say Add row) is clicked.
It looks something like this:
Column1 Column 2 Column 3
Select box1 Text Box1 Add New Row1
Select box2 Text Box2 Add New Row2
.
.
SelectboxN TextBoxN Add New RowN
Example: when i have first 2 rows and I click Add New Row2, a 3rd row is created.
I use
Struts for coding my
jsp page.
Does this require Ajax or can it be done using Javascript itself?
Any links for similar examples could also be helpful.
Thanks in advance.
Ram