...

View Full Version : "save as" current webpage to hdd



lse123
01-29-2006, 03:16 PM
What javascript code must have a link when pressed you go to a "save as" current webpage to hdd ?

mark87
01-29-2006, 03:24 PM
You can do this, but it's IE only.

document.execCommand("SaveAs")

lse123
01-29-2006, 03:36 PM
Where (in what section) of a javascript book I may find such commands ?

mark87
01-29-2006, 03:42 PM
That would depend on the book...

I believe Microsoft have the IE-only commands documented on their site.

Edit, http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/methods/execcommand.asp .



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum