【发布时间】:2015-05-13 17:41:37
【问题描述】:
我正在使用SCEditor 插件 作为富编辑。这个插件在我的 html 页面中生成一个 iframe。当我键入所有内容时,此编辑器会在该 iframe 中添加一些 html 元素。现在,我需要捕获更改 iframe 内容的事件。我该怎么做?
这是插件生成的html代码:
<div id="editor" ... >
...
<iframe>
<!DOCTYPE html>
<html>
<head>...</head>
<body>
//This content changes when i type every thing
</body>
</html>
</iframe>
</div>
【问题讨论】:
标签: jquery events iframe rich-text-editor sceditor