Home >php教程 >php手册 >JS 如何判断浏览器下载文件完成

JS 如何判断浏览器下载文件完成

WBOY
WBOYOriginal
2016-06-07 11:35:542735browse

我用PHP下载execl,下载完以后想通过JS再做其他操作,请问各位大神怎样才能实现
function down_execl(obj){
obj.innerHTML = '正在下载';
window.location.href='/admin.php/Safedrive/apply_excel?'+$('#form1').serialize();
}

AD:真正免费,域名+虚机+企业邮箱=0元

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn