<a href="path/to/file/filename.xxx" download="filename.xxx">filename</a>'
When i click the link, my filename.xxx should be downloaded.
It works perfectly in chrome. But in Internet explorer, it opens the file instead of downloading. What could be the problem? Is there any properties that is to be added to make it work in ie.
And also i need a file download sample that works for all the browsers.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…