嗨,我正在使用以下功能通过单击 href 转到代理页面。对于第一次单击 href 它工作正常。但是第二次单击代码不会调用 window.event.returnValue=true; 声明,而如果我使用调试器,它会按预期工作。
function CallDownloadProxy(url)
{
//debugger;
try
{
window.location = url;
window.event.returnValue=true;
}
catch (err)
{
alert(err.description );
}
}
如果有人知道这一点,请提供帮助