用frameset后网页间请求数据的传递
来源:互联网 发布:js mousewheel事件 编辑:程序博客网 时间:2024/06/04 22:33
用frameset整合页面
<frameset rows="80px,420px" cols="*" framespacing="0" frameborder="no"
border="0" >
<frame
src="<%=request.getContextPath()%>/helpcenter/rightHelpTop.do"
name="rightHelpTop" frameborder="0" scrolling="no"
marginwidth="0" marginheight="0" target="helpCentent" >
<frame
src="<%=request.getContextPath()%>/helpcenter/rightHelpBottom.do"
name="helpCentent" frameborder="0" scrolling="no" marginwidth="0"
marginheight="0" target="helpCentent" >
</frameset>
如果要在某一个页面触发了事件,要将事件传给后台,事件处理后将结果在另外一个frame框架中显示,可以在当前页使用如下方法:
window.parent.frames['helpCentent'].location.href = "helpcenter/helpSearchContent.do?searchId=" + temp;
其中“helpCentent”为frame框架的name属性。在后台action中将处理后跳转到目标页面即可。
- 用frameset后网页间请求数据的传递
- AFN请求的 数据传递
- 如何在javascript中获取请求转发后的request对象传递的数据
- ASP.NET网页间传递数据的方法
- ASP.NET网页间传递数据的方法
- 用HTML5里的window.postMessage在两个网页间传递数据
- 一次请求中数据的传递流程
- c++的HTTP请求返回网页数据
- 网页间数据传递方法小结
- 轻量级网页数据传递
- 简单网页数据传递
- frameset iframe 父子框架间值传递
- 双击dataGridView后的数据传递示例
- 让网页中的FrameSet居中的办法
- NSURLConnection请求网页数据
- ASIHTTPRequest请求网页数据
- Ajax请求。数据的提交,参数的传递。FormCollection
- 查询和网页间值得传递 遍历及展示 数据的插入 数据库的更新
- mfc视图切换大全
- 串口接收后发送指定的数字
- makefile 简单应用
- poj 1063 最短路
- 菜鸟学习Struts——国际化
- 用frameset后网页间请求数据的传递
- Linux系列:Ubuntu虚拟机设置固定IP上网(配置IP、网关、DNS、防止resolv.conf被重写)
- 【CareerCup】 Arrays and Strings—Q1.7
- 图文详解Linux/ubuntu安装cloudstack
- Segmentation fault(Core Dump)
- 交叉工具链的简单应用
- 安卓调用系统组件实现拨打电话
- HDU1007——二维空间最近点对问题(分治)
- js 的正则表达式总结