losbluejeans
04-04-2005, 03:15 PM
I have a document which I want my end users to be able to save to their machines without having to 'Right Click' a link and choose 'Save Target As'.
I have been working with a function that uses the 'execCommand(SaveAs)' command.
The problem is, this only allows the user to save the file as an 'html' or 'txt' file.
Is there any way to use this function (or any other) to trigger on onclick event which will save the selected file in it's original format to their machine?
***I am working within an Intranet and am aware that the execCommand does not work with Netscape***
Any help would be hugely appreciated.
I have been working with a function that uses the 'execCommand(SaveAs)' command.
The problem is, this only allows the user to save the file as an 'html' or 'txt' file.
Is there any way to use this function (or any other) to trigger on onclick event which will save the selected file in it's original format to their machine?
***I am working within an Intranet and am aware that the execCommand does not work with Netscape***
Any help would be hugely appreciated.