By default I have 5 textboxes. When a user clicks on a button, one textbox should be added.
How could I do this?
Best would be to attach an event on to the onclick of the button, that will set a div's visibility to inline. This is about the best way I can see for this, considering flexibility and robustness.
onclick
inline
Have a look here for example code.