如果使用FCKeditor 作為頁面編輯器, 希望能夠根據需要隨時獲得編輯器區的全部html文本, 和一個TEXTAREA 幫定, 你需要這樣做:
FCKeditorAPI.GetInstance('blogContent').GetXHTML( true );
其中'blogContent' 為TEXTAREA 的 name
這樣你就可以在js里取值和校驗了
posted on 2009-04-18 17:14 picture talk 閱讀(771) 評論(1) 編輯 收藏
test 回復 更多評論
Powered by: BlogJava Copyright © picture talk