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

Save page with images

P: 1
I want to know if there is a javascript to call the Save As Dialogic in IE and Netscape to download the current page with image to local pc, I find that document.execCommand('SaveAs',null,filename) is only work in IE, but it can't download the image in the page and not workable in Netscape 8.1.

Pls help. Thank in advance
Aug 27 '06 #1
Share this Question
Share on Google+
2 Replies

P: 1
Hi, i face the same problem.
Do anyone have the solution?
Nov 22 '06 #2

Expert 100+
P: 1,892
This only works in IE

<button onclick="javascript:document.execCommand('SaveAs', '1','fileName.txt')">Click to save</Button>
Nov 22 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.