By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,605 Members | 2,153 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,605 IT Pros & Developers. It's quick & easy.

Finding SaveAs filename

P: n/a
How do I find out what filename the user entered after they are
prompted by a call to document.execCommand("SaveAs")?

Sep 13 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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/
Sep 13 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.