在按钮的单击事件上弹出文本框 [英] Pop up text box on click event of button

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

问题描述

嗨。



我有一个要求,我必须在按钮的点击事件上显示一个弹出文本框,用户可以填写一些细节。弹出窗口上会出现一个OK按钮,点击确定按钮后,我必须将弹出文本框中的文本保存到数据库中。



我尝试过:



Hi.

I have a requirement where I have to display a pop up textbox on click event of a button where user can fill some details. There will be a OK button on popup and on clicking the ok button, I have to save text from popup textbox in database.

What I have tried:

Hi.

I have a requirement where I have to display a pop up textbox on click event of a button where user can fill some details. There will be a OK button on popup and on clicking the ok button, I have to save text from popup textbox in database.

推荐答案

检查类似的问题:如何获取当前表格行数据点击 [ ^ ]



您可以在这里找到更多信息:。submit()| jQuery API文档 [ ^ ]
Check similar question: How to get current table row data on click[^]

More you'll find here: .submit() | jQuery API Documentation[^]


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

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