Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
HTML Pages with CSS and JavaScript
Saveas dialog with Javascript
Vijay Vaddem
Ranch Hand
Posts: 243
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
I would like to invoke "Save As" dialog window using Javascript. This should
make the user to save the current page. Im able to do this for IE, however,
Im unable to find a solution for mozilla and netscape.
Can anyone help, pls....
Vijay
Eric Pascarello
author
Posts: 15385
6
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I think you are not going to be able to do it with any of the other browsers.
Vijay Vaddem
Ranch Hand
Posts: 243
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Is there any workaround for this??
Eric, please look into this........
Eric Pascarello
author
Posts: 15385
6
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Best thing you can do...
if(!document.all)alert("Please use 'File Save As' from the file menu in the toolbar\n\nThank you");
Nathaniel Stoddard
Ranch Hand
Posts: 1258
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Vijay,
The JavaScript security model precludes webpages from arbitrarily doing this sort of thing. (Be thankful!)
Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
Don't get me started about those stupid
light bulbs
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
how can i open save file dialog box in firefox?
How to open a file dialog box (open, save as, new)
Dialog Box Refresh Problem
file chooser
closing popup window after reference to jsp which's contentType is"application/excel?
More...