且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

页面加载下载文件不起作用

更新时间:2023-10-17 17:27:58

<script>
(function download() {
    document.getElementById('dl').click();
})()
</script>

这将在实例化后立即执行您的函数。

This will execute your function right after instantiation.