62,040
社区成员
发帖
与我相关
我的任务
分享
function returnValue(flag)
{
document.getElementById("rValue").value=flag;
var myObj = window.dialogArguments;
alert(myObj);
myObj.value = flag;
window.close();
}
function returnValue(flag)
{
document.getElementById("rValue").value=flag;
if (window.ActiveXObject) //IE浏览器
{
var myObj = window.dialogArguments;
//alert(myObj);
myObj.value = flag;
window.close();
}
else{
window.opener.document.getElementById("hid_oilid").value=flag;
window.opener.document.getElementById("txt_oil").value=flag+"号";
//self.close();
window.close();
}
}