I have a page with a set of elements.
I would like my dropdownlist1
to create new textbox under another specific element.
For example, if I have (from top to bottom):
- Label1
- dropdownlist1
- textbox1
- dropdownlist2
- label2
I would like my dropdownlist1 to create textbox2 under dropdownlist2 when user selects some item in the dropdownlist1.
How can I accomplish this?
don't bother... I found the answer... I should create an empty DIV between the elements I'm interested and when the dropdownlist changes to specific option, the code behond (C#) will create the new textbox in the empty DIV