父页面镶嵌页面,并把参数传递到嵌入的子页面scrolling是滚动条:auto是自动;no和yes。
<iframe id="result" name="result" align="center"
src="<%=contextPath%>/fmis/er/billapprove/processInst.jsp"
height="188px"
width="689.6px"
scrolling="auto">
</iframe>
JS:
var processInstId="<%=request.getParameter("processInstId")%>";
//初始化
window.onload=function(){
var ifr = document.all("result");
window.result.location.href=ifr.src +"?processInstId="+processInstId;
}
window.onload=function(){
var ifr = document.all("result");
window.result.location.href=ifr.src +"?processInstId="+processInstId;
}