怎样做一事件,达到页面另存为的功能,50分 这样,在另存为按钮加入onClick事件,具体代码为:onClick="document.execCommand('saveas','true','网页标题.htm')"即可 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <html><head><script language="javascript"> function printit() { wb.execwb(4,1) } </script></head><body><OBJECT classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" height=0 id=wb name=wb width=0> </OBJECT><input type=button name=button_print value="另存" onclick="javascript:printit()"> 已经搞定,第一种方法只是将源码重新写成一个新的html的文件,而第二种则是真正的另存为功能. 求助!如何获得这里面的 <A 的集合? dojo订阅-发布事件 -在线等 JS小问题求助 用javascript写了个俄罗斯方块,速度为啥这么慢呢? 关于防御XSS的一些基础问题 求javascript开发工具 jquery easyui 中的layout收缩时的标题问题 请问各位朋友有关时间的问题。 怎样在浏览器状态栏显示一行滚动的字 求帮忙解决,拜托了 已经定义了一个文本框为readonly/disabled,单击某个按钮后,如何将它设置成可编辑的? 是否JS写的代码封装的问题?
<head>
<script language="javascript"> function printit()
{
wb.execwb(4,1)
}
</script>
</head>
<body>
<OBJECT classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" height=0 id=wb name=wb width=0>
</OBJECT>
<input type=button name=button_print value="另存" onclick="javascript:printit()">