简体   繁体   English

从Bootstrap模式获取输入

[英]Get Input from Bootstrap Modal

I am using Twitter Bootstrap's modal control to create a popup form where a user can enter some input. 我正在使用Twitter Bootstrap的模式控件创建一个弹出表单,用户可以在其中输入一些输入。

How do I go about getting the information from the form? 如何从表格中获取信息? In the past when I am just using a form on a page, I have used the post variable to get user input - but would that apply in this case? 过去,当我仅在页面上使用表单时,我曾使用post变量获取用户输入-但这是否适用于这种情况?

使用AJAX,您可以提交表单,获取响应,然后决定是否关闭模式窗口。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM