[英]execCommand not working
I am unable to get document.execCommand('SaveAs', false, "/home/prakash/temp/log.html")
to work in either Firefox or Google Chrome, any ideas ? 我无法在Firefox或Google Chrome浏览器中使用
document.execCommand('SaveAs', false, "/home/prakash/temp/log.html")
来工作,有什么想法吗? Am I doing something wrong ? 难道我做错了什么 ?
Update : 更新 :
You may find this resource useful :) 您可能会发现此资源有用:)
Quoting: 引用:
Available only in the Win32 platforms for IE, the execCommand( ) method executes the named command.
execCommand()方法仅在IE的Win32平台中可用,它执行命名的命令。
Source: http://javascript.gakaa.com/document-execcommand-4-0-5-.aspx 来源: http : //javascript.gakaa.com/document-execcommand-4-0-5-.aspx
More Specific Resource: 更具体的资源:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.