html iframe js frame

<iframe> 语法
<iframe id="productList" src=""../common/emxTable.jsp?table=LUX_ProductsPortfolioSPDModelBigListTable">
初始页面 加载一个空表

在js 中实现iframe的重载
Window.document.getObjectById("productList").url="../common/emxTable.jsp?<%=queryString%>&table=LUX_ProductsPortfolioSPDModelBigListTable&program=LUX_ProductLine:getProductLineProductByFilters&header=Luxottica.Header.LUX_BrandModels&selection=multiple&toolbar=LUX_PRCProductLineToolbar&sortColumnName=Name&Export=true&HelpMarker=emxhelpmodellist";

Window.document.getObjectById("productList").contentWindow.location.reload(true);

 

frames 属性, window 对象中包含了所有框架,frames[i] 自身也可能有框架。

posted @ 2019-11-25 00:23  danieldai  阅读(1610)  评论(0)    收藏  举报