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?

61 of 97 people (63%) answered Yes
Recently 6 of 10 people (60%) answered Yes

Entry

Can I use the execCommand to save a file that is visible in an <IFrame id="save" src="test.doc">?

Apr 6th, 2008 19:31
ha mo, Ole Clausen, Jason A,


In the iframe 'mySave' you can save the document by using:
     frames.mySave.document.execCommand("SaveAs");
Or you can give the file a specific name in the 'SaveAs' dialog box:
     frames.mySave.document.execCommand("SaveAs", null, "my_file.html");
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