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