我是靠谱客的博主 个性百褶裙,这篇文章主要介绍发表文章时自动保存到剪贴板,现在分享给大家,希望可以做个参考。


[Ctrl+A 全选 注:如需引入外部Js需刷新才能执行]

eWebEditor调用方法
复制代码 代码如下:
<input type="hidden" value="" name="NewsContent" > 
        <iframe name="eWebEditor" ID="eWebEditor" src="eWebEditor/eWebEditor.asp?Id=NewsContent" frameborder="0" scrolling="no" width="100%" HEIGHT="100%"></iframe> 
<script type="text/javascript"> 
function submitcontent() { 
window.clipboardData.setData('Text',frames.eWebEditor.document.body.innerHTML); 

</script>
<input  type="submit"  onclick="submitcontent();" value="确 定">

最后

以上就是个性百褶裙最近收集整理的关于发表文章时自动保存到剪贴板的全部内容,更多相关发表文章时自动保存到剪贴板内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(206)

评论列表共有 0 条评论

立即
投稿
返回
顶部