2
    var StrPageName = "GPGeneration_Credit.ashx?UniqueID=" + __uniqueId + "&supplierID=" + supplierID + "&CreditID=" + OrderIds;
        window.open(StrPageName);
   // Here I want to detect that File download is Complete or not and then refresh the //page
        location.reload();

请帮助我对任何错误感到抱歉

4

1 回答 1

2

您可以从服务器端设置 cookie,指示文件下载完成。有一些 jQuery插件可以做到这一点

于 2013-06-10T06:44:45.137 回答