`
zengshaotao
  • 浏览: 752728 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

兄弟frame之间控制页面

 
阅读更多

 

 

<FRAMESET cols="250,*" frameborder="no" border="0" framespacing="0">

   <FRAME src="<%=request.getContextPath()%>/jsp/estiscore/card_tree.jsp?<%=param%>" name="treeLeft"/>

   <FRAME src="<%=request.getContextPath()%>/jsp/estiscore/estimateCard.jsp?<%=param%>" name="detailRight"/>

    </FRAMESET>

 

在card_tree.jsp里改变  detailRight 这个frame的页面内容,可通过如下方式:

self.parent.frames["detailRight"].location = "<%=request.getContextPath()%>/jsp/estiscore/estimateGroupManage.jsp?currId="+currId;

 

self.parent.frames["detailRight"].src是不可以的

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics