ericdalrymple
asked on
execCommand('SaveAs'... problem with filename
I have some javascript that does a saveas to prompt the user to save an xml file:
<script>
document.execCommand('Save As',true,' tfbo-20070 629Abdulla hiA.9902-. xml');
</script>
This works on my machine:
-windows xp pro
-IE7
But not on other machines running IE 8 (and God only know what else.).
The problem is that on these other machines, the file save as dialog is opened with the filename looking like this:
tfbo-20070629AbdullahiA.99 02-
Missing the ".xml"
I have verified all the IE settings I can think of that might affect this. ideas?
<script>
document.execCommand('Save
</script>
This works on my machine:
-windows xp pro
-IE7
But not on other machines running IE 8 (and God only know what else.).
The problem is that on these other machines, the file save as dialog is opened with the filename looking like this:
tfbo-20070629AbdullahiA.99
Missing the ".xml"
I have verified all the IE settings I can think of that might affect this. ideas?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER