简体   繁体   English

如何将数据传递到jQuery UI对话框模式窗口内的表单?

[英]How pass data to a form inside jquery UI dialog modal windows?

I'm trying to use the jquery UI dialog component to display a form; 我正在尝试使用jQuery UI对话框组件来显示表单; which I successfully did. 我成功做到了。

However I'm at lost on how to retrieve data to this form inside the dialog window. 但是,我对如何在对话框窗口中将数据检索到此表单感到迷惑。 Is it possible? 可能吗? The example shown on jquery website only shows static messages. jquery网站上显示的示例仅显示静态消息。

Maybe you can tell us more about the problem. 也许您可以告诉我们更多有关该问题的信息。 What data do you want do display and in which format is this data (is it form data, javascript objects, dom objects, etc.?) 您要显示什么数据,该数据的格式是什么(它是表格数据,javascript对象,dom对象等?)

You talked about a form which is shown via a dialog. 您谈到了通过对话框显示的表单。 Where do you want to access this form data (when the dialog is closed, opened, when the form is submitted, ...)? 您想在哪里访问此表单数据(关闭,打开对话框,提交表单时...)?

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

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