HTML中的下载对话框 [英] download dialog box in html
本文介绍了HTML中的下载对话框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
当我使用锚标记作为文件参考时.
例如
< a href =" xxxx.zip>点击我</a>"
我无法获得下载对话框.它显示在一个窗口中.
我可以找到解决方案吗?
在此先感谢
Hi
when i use anchor tag for a file reference.
for example
"<a href="xxxx.zip">click me</a>"
I am unable to get the download dialog box. It is showning in a window.
can i get solution for it.
Thanks in advance
推荐答案
您没有提到显示错误消息的窗口是否出现&您测试了哪个浏览器.当前,在所有浏览器中,下载时都有设置选项.
(例如Firefox)
选项1.将文件保存到位置C:\ Downloads
选项2.总是问我在哪里保存文件
因此,请重置浏览器设置,然后重试.还要确保文件路径正确(xxxx.zip)
you didn''t mentioned if the window showing any error messages & which browser you tested. currently in all browsers there is options for settings while download.
(Ex. Firefox)
Option1. Save files to location C:\Downloads
Option2. Always ask me where to save files
so reset the browser settings and then try again. Also make it sure the file path is correct (xxxx.zip)
这篇关于HTML中的下载对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文