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' --------------------编程问答--------------------
正解 --------------------编程问答-------------------- 谢谢各位,给分! --------------------编程问答-------------------- --------------------编程问答-------------------- window.top.location.href='' --------------------编程问答--------------------
+1 --------------------编程问答--------------------
+1 --------------------编程问答-------------------- window.top.location.href='D.aspx'
补充:.NET技术 , ASP.NET