Home  >  Article  >  Web Front-end  >  downloadIntroduction to the method of handling IE compatibility of downloaded files

downloadIntroduction to the method of handling IE compatibility of downloaded files

高洛峰
高洛峰Original
2017-03-24 09:46:592854browse

According to CANIUSE (http://caniuse.com/#search=download) download compatibility is shown in the figure below:

downloadIntroduction to the method of handling IE compatibility of downloaded files

As shown in the figure above, IE browser is not supported.

1. Test code:

nbsp;html>


    <meta>
    <title>download 下载文件 IE兼容性处理</title>


    <a>下载</a>

2. Effect:

downloadIntroduction to the method of handling IE compatibility of downloaded files

## And there is no 123.docx in the downloaded compressed package file.

3. Compatibility processing

Compress the file 123.docx (process the same as other files) into a 123.zip file, and then download it.

Sample code:

nbsp;html>


    <meta>
    <title>download 下载文件 IE兼容性处理</title>


    <a>下载</a>

Summary:

Compress the file to zip or rar extension before downloading.

The above is the detailed content of downloadIntroduction to the method of handling IE compatibility of downloaded files. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn