JavaScript: Invoking The SaveAs Dialog From A Web Page

Click to select the code.  Use Control-C to copy it to your clipboard. Help


See the instructions in the script for installation directions.  Try the popup demo (above) to exercise the script.

IE4+ browsers provide a document.execCommand() that can call certain system dialogs. This script demonstrates calling the SaveAs dialog to save a web page. The script includes onload interlocking and alternate alert messaging for non-IE browsers.

Note that the script can only be used to save the current page; that is, the page in which the script is included.

FLASH! BANG! The action just never ends. You want your site to look great? You want it to stand out from the crowd? You want it to be free of smelly foot odor? Then you MUST MUST MUST have... Go here: FlashBanger's!


Copyright 2001 - 2012 by and OECCorp.
The 2012 Evolution™ is an OEC InterNET Group site.SupportNotices