如何将值从页面中的文本传递到另一页面中的表 [英] How to pass value from a text in a page to a table in another page
本文介绍了如何将值从页面中的文本传递到另一页面中的表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有两页。第一页包含一个带有标题的表,第二页包含文本&选择的选项。
我希望如此,当第二页中的用户点击提交按钮时,他的信息将根据表格中的标题插入第一页的表格中。
>
我该怎么做?
................
这是我的第一页代码:
展开 < span class =codeDivider> | 选择 | Wrap | Line您打开的子窗口中的数字
解决方案
可能会引用父窗口:
展开 | 选择 | Wrap | 行号
@gits
感谢您的回答,但我在第11行的子代码中使用了这个方法。它不起作用。
我想将它插入表中。
那你的问题不是怎么回事在不同窗口之间传递值但是如何向表中添加行...以及如何从表单元素中正确检索值
脚本存在一些问题 - > <首先是
:
展开 | 选择 | Wrap | 行号
I have two pages. The first page contain a table with title and the second contain texts & selected option.
I want it so when a user in second page clicks the submit button, his information is inserted in the table in the first page according the title in table.
How would i do this?
................
here is my first page code:
Expand|Select|Wrap|Line Numbers解决方案from the child window that you opened you might refer to the parent window with:
Expand|Select|Wrap|Line Numbers
@gits
Thank you for the answer, but I used this method in my child code on line 11. It does not work.
I want to insert it in the table.
then your question is not how to pass a value between different windows but how to add a row to a table ... and how to correctly retrieve values from form-elements
the script has some issues ->
first:
Expand|Select|Wrap|Line Numbers
这篇关于如何将值从页面中的文本传递到另一页面中的表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文登录 关闭
扫码关注1秒登录发送“验证码”获取 | 15天全站免登陆