如果是在客戶端,在script標記中加
function GetContents()
{ // Get the editor instance that we want to interact with. var oEditor = FCKeditorAPI.GetInstance('FCKeditor1') ; // Get the editor contents in XHTML. alert( oEditor.GetXHTML( true ) ) ; // "true" means you want it formatted. } 然后調用此函數(shù)即可 如果是在服務器端獲取值,直接用Request.Form["FCKeditor1"]就行啦!
|
|
來自: deargem > 《asp.net學習》