fckeditor 获取文本框值的实现代码


复制代码 代码如下:

<script type="text/javascript">
function check(){
var editor = FCKeditorAPI.GetInstance("FCKEDITOR的ID");
alert(editor.EditorDocument.body.innerHTML);
//输出的就是FCK文本框中的值;
}
</script>


« 
» 
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3