现在有两个iframe分别嵌入两个窗体,如何实现从一窗体刷新另一个窗体?
------解决方案--------------------------------------------------------
两个iframe在1个页面里?
parent.frames["another iframe's id"].location.reload();
------解决方案--------------------------------------------------------
parent.frames["iframe2"].location=parent.frames["iframe2"].location;
------解决方案--------------------------------------------------------
重新为src属性赋值
------解决方案--------------------------------------------------------
或者
function RefrashIFrame(IframeID)
{
if(IframeID != null)
{
document.frames[IframeID].location.reload();
}
}