将值从一个html页面传递到另一个页面? [英] pass value from one html page to another?
本文介绍了将值从一个html页面传递到另一个页面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
hai expert,
我正在使用名为main.html的页面,当用户点击此页面中的按钮时,会打开pop.html的弹出窗口。在pop.html用户输入他的名字并关闭该弹出窗口。
现在我需要的是:
pop.html中输入的名称应该在main.html中以表格格式显示。每次用户打开时都应该添加该行并输入名称。
不刷新main.html 。我该怎么办呢。
hai experts,
i am having page called main.html, when the user clicks a button in this page a popup window of pop.html is opened. in pop.html user enter his name and close that popup window.
now what i need is:
the name entered in pop.html shiould be shown as table format in main.html. the row should be added each and every time the user open and enter a name.
without refreshing main.html. what should i do for this.
推荐答案
请尝试这段代码.......
in main。 html
=================
plz try this code .......
in main.html
=================
展开 | < span class =codeLinkonclick =selectAll(this);>选择 | Wrap | 行号
在main.html中没有反应。
我的代码:main.html
no reaction in main.html.
my code:main.html
< span class =codeLinkonclick =Blur(this,this.parentNode.parentNode,getChildren(this),true);>展开 | Sele ct | Wrap | 行号
在IE中,你需要一个tbody,所以在main中。 html:
In IE, you will need a tbody, so in main.html:
展开 | 选择 | Wrap | 行号
这篇关于将值从一个html页面传递到另一个页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文