faqts : Computers : Programming : Languages : JavaScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

1 of 1 people (100%) answered Yes
Recently 1 of 1 people (100%) answered Yes

Entry

How do I save the images together with the website using document.execCommand('SaveAs')

Apr 8th, 2008 19:02
ha mo, Dave Clark, rajeshwari,


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rajesh,
     I'm sure it is possible for things to change with any new version 
or modification level of the browser which becomes available, but my 
understanding is that the internal execCommand() version of 
the "SaveAs" command only has one option for saving the current page.  
If you notice the "SaveAs" dialog box has a dropdown with four 
different options for how you wish to save the current page.  
Apparently, the default for the SaveAs dialog box is "HTML Complete" 
while the option for the SaveAs internal command is "HTML Only".  
Sorry.
Take care,
Dave Clark
www.DaveClarkConsulting.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://www.businessian.com
http://www.computerstan.com
http://www.financestan.com
http://www.healthstan.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.technologystan.com
http://www.zobab.com
http://www.healthinhealth.com