最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
FCKeditor 如何清除内容代码
时间:2022-07-02 13:14:48 编辑:袖梨 来源:一聚教程网
FCKeditor 如何清除内容代码呢,
这种方法很简单哦我们用fck来内容哦,经常在做判断fck 是否有内容时,js都取不到内容,
下面我们来看利用FCKeditorAPI.GetInstance自动的功能来处理吧。
下面来看看方法很简单哦。
var editor = FCKeditorAPI.GetInstance("content");
editor.EditorDocument.body.innerHTML="";
哈哈,就几句吧。
相关文章
- 怎样开启phpStudy服务器 09-22
- 三分钟掌握PHP操作数据库 09-22
- Binance Windows 11 客户端怎么下载和安装? 09-22
- Binance Mac 版在哪里下载?桌面端安装步骤 09-22
- 币安电脑版官方下载教程:Windows 与 macOS 安装方法 09-22
- Binance App Download:Android、iPhone 和 PC 版本说明 09-22