最新下载
热门教程
- 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="";
哈哈,就几句吧。
相关文章
- 光遇2023年海洋节活动有哪些物品 05-12
- 沙石镇时光失窃案任务怎么做-详细方法介绍 05-12
- 英雄无敌5亡灵技能怎么选择 05-12
- 攻城掠地建邺怎么打 05-12
- 少年三国志54到60怎么升级 05-12
- 攻城掠地79副本怎么过 05-12