如何在触发window.open()方法的同一页面的window.open()方法中获取url的响应?

时间:2018-10-12 06:41:24

标签: window.opener

如何在触发window.open()方法的同一页面的window.open()方法中获得URL的响应?

var w1 = window.open("givenurl",'_blank', 
'location=yes,height=570,width=520,scrollbars=yes,status=yes, function(res){
    console.log("w1: " + res);
});

0 个答案:

没有答案