当前位置:编程学习 > C#/ASP.NET >>

Iframe页面跳转问题

A页面有个Iframe调用B页面,B页面按钮执行window.location.href='C.aspx'跳到C页面,C页面有个按钮,我想实现点击该按钮将A页面跳转到D页面,不知道该怎样做,哪位高手能告诉我呀?(C页面的按钮如果执行parent.location.href='D.aspx'只是在Iframe中跳转而不是整个A页面) --------------------编程问答-------------------- top.location.href='D.aspx' --------------------编程问答-------------------- window.top.location.href='D.aspx' --------------------编程问答-------------------- <input ... onclick="javascript:window.top.location.href='D.aspx';" .../> --------------------编程问答-------------------- window.top.location.href='D.aspx' --------------------编程问答-------------------- parent.parent.location.href='D.aspx' --------------------编程问答-------------------- window.top.location.href='D.aspx' --------------------编程问答--------------------

window.top.location.href='D.aspx'
--------------------编程问答-------------------- window.top.location.href='D.aspx'  --------------------编程问答--------------------
引用 4 楼 xocom 的回复:
window.top.location.href='D.aspx'


正解 --------------------编程问答-------------------- 谢谢各位,给分! --------------------编程问答-------------------- --------------------编程问答-------------------- window.top.location.href='' --------------------编程问答--------------------
引用 2 楼 chenhaoying 的回复:
window.top.location.href='D.aspx'

+1 --------------------编程问答--------------------
引用 13 楼 falconfei 的回复:
引用 2 楼 chenhaoying 的回复:
window.top.location.href='D.aspx'

+1

+1 --------------------编程问答-------------------- window.top.location.href='D.aspx'
补充:.NET技术 ,  ASP.NET
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,