fckeditor 獲取文本框值的實現(xiàn)代碼
更新時間:2009年02月09日 02:26:06 作者:
獲取文本框值的實現(xiàn)代碼
復制代碼 代碼如下:
<script type="text/javascript">
function check(){
var editor = FCKeditorAPI.GetInstance("FCKEDITOR的ID");
alert(editor.EditorDocument.body.innerHTML);
//輸出的就是FCK文本框中的值;
}
</script>
相關文章
JavaScript實現(xiàn)通過select標簽跳轉(zhuǎn)網(wǎng)頁的方法
這篇文章主要介紹了JavaScript實現(xiàn)通過select標簽跳轉(zhuǎn)網(wǎng)頁的方法,涉及javascript事件響應及窗口操作相關技巧,需要的朋友可以參考下2016-09-09

