Hi
I have to open a save as file dialog box using javascript on a click of button.
I am able to do that with the below code.
<a href="#" onclick="javascript: document.execCommand('Save
As','1',nu
ll);"><img
src="./images/save.gif" border="0"></a>
In the save as dialog box, for the file types combo we want .xls and .csv to be shown. Currently it is showing only .html and .txt by defalut.
Thanks
sk5567
Start Free Trial