一个页面有两个
iframe
在其中一个iframe页面内访问另一个name=main 的iframe,让main定向到另一个页面
用以下的js
1.
2.
用2方法:在friendAction 中的queryAllFriendInfo得到session 从session中取值(session一定有值的,别的页面测试有的) 竟然为null,
用1 却不为空,不知道怎么回事
iframe
在其中一个iframe页面内访问另一个name=main 的iframe,让main定向到另一个页面
用以下的js
1.
parent.document.getElementById("main").src = "../friendAction!queryAllFriendInfo.fog?type=1"
2.
parent.document.getElementById("main").contentWindow.location.href= "../friendAction!queryAllFriendInfo.fog?type=1"
用2方法:在friendAction 中的queryAllFriendInfo得到session 从session中取值(session一定有值的,别的页面测试有的) 竟然为null,
用1 却不为空,不知道怎么回事