How do I add textboxes dynamically in Javascript?

后端 未结 8 868
感情败类
感情败类 2020-12-15 20:43

By default I have 5 textboxes. When a user clicks on a button, one textbox should be added.

How could I do this?

8条回答
  •  既然无缘
    2020-12-15 21:38

    
    
    
    

    set id=input_template to one of the predefined textboxes

提交回复
热议问题