1

有谁知道如何清除 Oboout HTML Editor 客户端的内容?他们的在线文档说使用 oboutGetEditor('editor').setContent(...)。当我尝试 oboutGetEditor('editor').setContent("") 时,我在以下位置收到脚本错误(“Microsoft JScript 运行时错误:对象不支持此属性或方法):

switch(a._mode){case"html":if(a._iframe&&a._iframe.contentWindow&&a._iframe.contentWindow.focus&&(a.isActivated||a._autoFocus)){if(!a._autoFocus&&!a._wasFocused) 
4

1 回答 1

1

请参阅此页面: http ://www.obout.com/Obout.Ajax.UI/HTMLEditor/docs/client/Editor.aspx

var editorObject = $find("<%= myEditor.ClientID %>");
editorObject .set_content("Some new content...");
于 2014-02-02T13:55:38.187 回答