表格显示在框架中 [英] Form displaying within a frame

查看:87
本文介绍了表格显示在框架中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用经典的ASP,我在列表框的右侧有一个框架.
单击列表框项以填充框架.
允许用户更新框架中的项目,然后按一个按钮进行保存.
那部分起作用.

保存后,我需要重新显示原始页面并重新加载列表框.

但是,页面在框架中显示.

我知道这很简单.几年前我们遇到了这个问题,但我不记得是什么问题.

任何和所有帮助表示赞赏.

Tim

Using classic ASP, I have a list box with a frame to the right.
Click on a list box item to populate the frame.
Allow users to update items in the frame and press a button to save.
That part works.

Upon saving, I need to redisplay the original page and reload the list box.

However, the page is displaying WITHIN the frame.

I know its a simple fix; we had this problem years ago, but I don''t remember what it is.

Any and all help appreciated.

Tim

推荐答案

找到了解决方案.
将``window.parent.location.href''设置为原始形式.
不漂亮,但是可以.
Found a solution.
Set ''window.parent.location.href'' to the original form.
Not pretty, but it works.


这篇关于表格显示在框架中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆