FCKEditor编辑器清除内容、获得焦点、写入内容
来源:互联网 发布:日记软件for mac 编辑:程序博客网 时间:2024/04/30 00:01
function writeContent(context)
{
var oEditor = FCKeditorAPI.GetInstance("myTextAreaId");
oEditor.EditorDocument.body.innerHTML = "";
oEditor.Focus();
oEditor.InsertHtml(context);
}
function clearContent()
{
var oEditor = FCKeditorAPI.GetInstance("myTextAreaId");
oEditor.EditorDocument.body.innerHTML = "";
oEditor.Focus();
}
##########################
function writeContent(context)
{
var oEditor = FCKeditorAPI.GetInstance("myTextAreaId");
oEditor.SetHTML(context);
}
function clearContent()
{
var oEditor = FCKeditorAPI.GetInstance("myTextAreaId");
oEditor.SetHTML("");
}
- FCKEditor编辑器清除内容、获得焦点、写入内容
- 怎样验证FckEditor中的内容是否为空?怎样使FckEditor获得焦点?
- NumericUpDown 获得焦点,选中内容
- 编辑器内容获得
- js 验证码错误,输入框获得焦点并清除内容
- 成为焦点时清除文本框内容
- FCKeditor 获取编辑器中文字内容
- 文本框获得焦点时,内容为空!
- inpuy testrea获得焦点内容变色
- 文本框获得焦点清空文本内容
- 小程序 input 获得焦点,填入内容,取得内容
- fckeditor的用法,如何获得编辑器中的内容(转自http://suichunyu1987.blog.163.com/blog/static/87309653200981032351210/)
- 文章的关键字获得焦点显示提示内容,关键字失去焦点隐藏提示内容
- Jquery实现文本框获取焦点清空内容,失去焦点重新获得内容
- 验证Fckeditor编辑器中的内容是否为空
- 文本域获得焦点置到内容的最后
- 限制文本框长度、内容清空并获得焦点 JS
- js input 鼠标点击清除提示内容,失去焦点还原默认内容的方法
- ubuntu下配置C、C++、GTK,QT开发环境
- 创建构建工程的方法(待完成)
- extern用法详解
- 网络socket编程指南
- dwr 调用执行不到的问题
- FCKEditor编辑器清除内容、获得焦点、写入内容
- C语言中的随机函数实现
- 缓存之memcached
- 逆向qqspy,实现qq2010聊天信息获取
- 开发简单jquery插件
- 朝会資料 幕末の歴史の簡単紹介 2010年8月30日
- Josephu 问题的实现方法
- Hibernate中用proxy(代理)实现类的延迟加载
- 基于 Visual C++6.0 的 DLL 编程实现