how to detect that file download is Complete using javascript
本问题已经有最佳答案,请猛点这里访问。
1 2 3 4 | 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(); |
请帮帮我,抱歉弄错了
您可以从服务器端设置cookie,以指示文件下载已完成。有一些jquery插件