1. 首页
  2. 移动开发
  3. 其他
  4. html下载本地

html下载本地

上传者: 2020-12-03 03:19:26上传 PDF文件 17KB 热度 8次
通过javascript 实现 index.html 下载文件 ####### temp.html //被下载文件 [removed] if (typeof(window.opener) != ‘undefined’) //判断 打开方式的下载。 去掉会一打开文件就弹出下载框 { document.execCommand(‘SaveAs’); window.close(); } [removed]
下载地址
用户评论