从按钮单击事件中的弹出窗口获取文本框值 [英] to get textbox values from popup in button click event

查看:125
本文介绍了从按钮单击事件中的弹出窗口获取文本框值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述









我将div eith文本框和按钮放在同一个aspx页面中但是当我们点击div使用脚本打开的锚标签时显示div,当我在文本框中键入一些文本并点击弹出按钮时,evnt正在触发,但文本框值为null,如何获取文本框值为什么我写了.......





请帮帮我

Hi,



I placed the div eith textbox and button in the same aspx page but the div is displayed when we click on the anchor tag the div opens using script and when i type some textin the textbox and by clicking on the popup button the evnt is firing but the textbox values i null,how to get the textbox value what i written.......


please help me

推荐答案

在弹出按钮上单击事件使用
On popup button click event use


('#textboxid')。html();并指定在任何你想要的地方控制弹出窗口
('#textboxid').html(); and assign that to control in popup wherever you want


这篇关于从按钮单击事件中的弹出窗口获取文本框值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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