提交之前获取fckeditor中的内容
FCKeditorAPI.GetInstance("此处写id").GetXHTML(true);
example:
<td align="center" colspan="4">
<textarea id="content" name="content" vtype="editor" toolbar="Simple"></textarea>
</td>
alert(FCKeditorAPI.GetInstance("此处写id").GetXHTML(true));
本文介绍如何在网页中使用FCKeditor插件获取编辑器内容,并通过FCKeditorAPI将其转换为XHTML格式。具体步骤包括设置编辑器ID、调用GetXHTML方法并展示转换后的HTML代码。
148

被折叠的 条评论
为什么被折叠?



