pop=window.open('test.htm','','top=10000')
pop.document.execCommand('Saveas');
pop.close();
//---------------------------------------------------
不知道是不是这个意思。总之保存网页可以用execCommand方法,第一个参数设为Saveas。
pop.document.execCommand('Saveas');
pop.close();
//---------------------------------------------------
不知道是不是这个意思。总之保存网页可以用execCommand方法,第一个参数设为Saveas。
<script language="javascript">
function opennew(url){
<!--
var gt = unescape('%3e');
var popup = null;
var over = "Launch Pop-up Navigator";
popup = window.open(' ', '', ',width=600,height=400,resizable=1,scrollbars=yes');popup.location.href='answer/' + url;
// -->
}
</script>
<script>window.open("view-source:http://www.csdn.net/")</script>2.
http://www.csdn.net/Develop/read_article.asp?id=14994
<script>
var win=window.open("test.html");
setTimeout("win.document.execCommand('Saveas')",1000)
</script>4.xmlHttp
5.#default#download