I need a piece of javascript that forces IE to pop up the file download dialog instead of opening and displaying the file within the IE window.
Currenly I am using:
to load a .rtf file...
But IE supports this file format and displays it instead of prompting for download.
Can anyone suggest how to make IE always prompt for download of a given file?
Currenly I am using:
Code:
window.open(file, title, windowParams)
But IE supports this file format and displays it instead of prompting for download.
Can anyone suggest how to make IE always prompt for download of a given file?