【发布时间】:2013-04-29 15:03:41
【问题描述】:
我很惊讶这个问题没有直接的解决方案。我在网上或 SO 上找到的任何东西似乎都不起作用。
例如我有这个 html 代码:
<img src="http://cdn.sstatic.net/stackoverflow/img/apple-touch-icon.png" />
当用户单击此图像时,我想唤起另存为对话框,而不是在新窗口中打开图像,因为它是浏览器可以理解的格式。必须至少有一些 javascript 才能完成这项任务,或者?
【问题讨论】:
标签: html internet-explorer internet-explorer-8 internet-explorer-9