如何在单击按钮时添加多个文本框 [英] How to add multiple Text boxes on click of a button
本文介绍了如何在单击按钮时添加多个文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的项目中有一个新要求,我应该在点击按钮时添加多行(每行包含三个文本框)。
And单击SAVE按钮后,文本框中的所有值都应保存在表格中。
请帮我解决此问题。
I have a new requirement in my project where I am supposed to add multiple rows(every row would contain three textbox) on click of a button.
And upon clicking SAVE button all the values in textboxes should be saved on a table.
Please help me how to achieve this.
推荐答案
请参考:动态创建文本框行 [ ^ ]
希望这有助于您入门!
Please refer: Dynamically creating rows of textboxes[^]
Hope this helps you getting started!
这篇关于如何在单击按钮时添加多个文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文