js 窗口互相调用数据


  var globalSupplierIds = [];   parent.$("body .fr").each(function (e, ee) {       var el = $(ee).attr("src");       var openView = (el.indexOf("SaveIncent") > 0 );       if (openView) {           iframeEl = $(ee).context.contentWindow;                   globalSupplierIds=iframeEl.$("#SupplierIds").text().split(",");           console.log(globalSupplierIds)           return false;       };     });   iframeEl.$("#SupplierIds").text(ids);