本文介绍了从jquery CLEditor获取内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用jquery keyup获取我在 CLEditor 中编写的内容数据?
How can I get content data what I am write in CLEditor using jquery keyup?
推荐答案使用CLEditor的 .change 事件会不会更有意义?来自文档:
Wouldn't it make more sense to use CLEditor's .change event? From the documentation:
更改 - 只要编辑器的内容发生变化,就会触发此事件。由于更改检测是使用keyup和mouseup 事件完成的,因此当用户输入时,此事件经常发生。
change - This event is triggered whenever the contents of the editor have changed. Since change detection is done using the keyup and mouseup events, this event occurs frequently as the user types.
更多推荐
从jquery CLEditor获取内容
发布评论