生成动态文本框1比1 [英] generate dynamic textbox 1 by 1

查看:90
本文介绍了生成动态文本框1比1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的网站上,我正在使用动态texbox.

但它会一次生成所有文本框.

我想要当我单击一个按钮时,按钮上方会显示1个文本框.
按钮必须显示在下面.
用于添加另一个文本框...

hi in my website i am using dynamic texbox.

but it generate all the text box at a time.

I want when i click on a button then 1 text box will show above the button.
button must show below.
for add another text box...

推荐答案

我想要当我单击按钮时,按钮上方将显示1个文本框.
使用Javascript/客户端代码创建文本框,并在需要时将它们一一放置



每次添加后,使用AJAX并重新渲染区域(更新面板),从而在添加点击时添加一个文本框.
I want when i click on a button then 1 text box will show above the button.
Use Javascript/client side code to create textboxes and place them one by one when needed

OR

Use AJAX and re-render the area (update panel) after every addition and thus add one textbox on add click.


这篇关于生成动态文本框1比1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆