Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Advanced-java] window.document.execCommand('SaveAs') not works for me
- From: Ying-Kit.Leung@xxxxxxxxxxxxx (Ying-Kit.Leung@xxxxxxxxxxxxx)
- Subject: [Advanced-java] window.document.execCommand('SaveAs') not works for me
- Date: Thu, 14 Mar 2002 12:24:10 -0500
I open the following html with IE 5.5. When I click the link, the
window.open works fine, but the execCommand not works. Any idea?
Thanks!
<html>
<head>
<script>
function saveDoc() {
var win = window.open('some.html');
win.window.document.execCommand('SaveAs',null,'new.htm')
}
</script>
</head>
<body>
<a href="javascript:saveDoc();">Save It</a>
</body>
</html>
- Prev by Date: [Advanced-java] enclosing class creating a thread advice
- Next by Date: [Advanced-java] enclosing class creating a thread advice
- Previous by thread: [Advanced-java] enclosing class creating a thread advice
- Next by thread: [Advanced-java] PKCS #11 implemenations
- Index(es):