var urlpara = GetRequestParam();
if (window.opener != null){ //父窗口赋值以及父窗口保存(window.open)
if (window.opener.$.ControlManager.skdwgrkhhmc != null){
window.opener.$.ControlManager.getCtl("skrxm").value=yg;
window.opener.$.ControlManager.getCtl("skrgh").value=yggh;
window.opener.parent.document.getElementById("B004001").click();
}
}
function GetRequestParam() {
var url = decodeURIComponent(location.search); //获取url中"?"符后的字串
var theRequest = new Object();
if (url.indexOf("?") != -1) {
var str = url.substr(1);
strs = str.split("&");
for(var i = 0; i < strs.length; i ++) {
theRequest[strs[i].split("=")[0]]=unescape(strs[i].split("=")[1]);
}
}
return theRequest;
}
父窗口赋值以及父窗口保存
最新推荐文章于 2022-11-13 22:26:05 发布