<input type=button value=保存 onclick="mm()"><script language=javascript>
function mm()
{
var url = parent.right.location.href;
var w = window.open(url, "_blank", "width=100,height=100");
w.document.execCommand('SaveAs');
w.close();
}
</script>
function mm()
{
var url = parent.right.location.href;
var w = window.open(url, "_blank", "width=100,height=100");
w.document.execCommand('SaveAs');
w.close();
}
</script>
解决方案 »
- struts2 中用到fckeditor整合webEQ整合已经完毕,但是struts2那面接收不到webEQ的数学公式..!
- 怎么给这个js原型弄个变量进去。。。。。。。。
- 招聘css布局,ui设计,javascript开发人员
- Javascript的toString方法
- JS调用问题
- 怎么获得select中所有的值
- jsp上传的问题
- 点击下一个问题,前一个问题自动收回
- 谁能够解决这个javascript问题!送asp.net电子政务系统!还送50分!在线等待!不要忘记写上你的QQ,Email!马上传给解决者!
- 希望能得到一段在客户段应用的filesystemobject那玩应
- 请问谁知道关于scriptlet和object的详细学习网址
- 页面保存问题?
function mm()
{
var str = Id.innerHTML; var w = window.open("", "_blank", "width=100,height=100");
w.document.write(str);
w.document.close();
w.document.execCommand('Print');
w.close();
}
</script>