标签: javascript html downloading
对不起,如果我的问题不清楚,我很难解释。
Basicaly我想要这个:
<a href="the_other_webpage" download>download file</a>
下载此网页自动下载的文件:
html :
<a id="download" href="download_file_url" download hidden></a>
的javascript :
document.getElementById('download').click();