billforde said the following on 9/13/2006 3:21 PM:
How do I find out what filename the user entered after they are
prompted by a call to document.execCommand("SaveAs")?
var nameOfFile=prompt('What did you name that file?');
Other than asking the user directly, and them honestly telling you, you
can't know the answer to that question.
--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ -
http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices -
http://www.JavascriptToolbox.com/bestpractices/