如果是在客户端,在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. } 然后调用此函数即可 如果是在服务器端获取值,直接用Request.Form["FCKeditor1"]就行啦!
|
|
来自: deargem > 《asp.net学习》