1网上常见的方法:
window.opener=null;
window.open(' ','_self');
window.close();
2.页面跳转之后,新的页面的window.close功能失效 :
(1)用以下的方法打开所需跳转的页面
window.location.replace('页面.html')
(2)跳转到的页面的js里添加:
window.close();
1网上常见的方法:
window.opener=null;
window.open(' ','_self');
window.close();
2.页面跳转之后,新的页面的window.close功能失效 :
(1)用以下的方法打开所需跳转的页面
window.location.replace('页面.html')
(2)跳转到的页面的js里添加:
window.close();