JS用alert( FCKeditorAPI.GetInstance('FCKeditor1').GetXHTML( true ))得到FCKeditor1的值;
PHP用$_POST['FCKeditor1']得到FCKeditor1的值。js判断一下FCKeditorAPI.GetInstance('FCKeditor1').GetXHTML( true )是否为空。
PHP用$_POST['FCKeditor1']得到FCKeditor1的值。js判断一下FCKeditorAPI.GetInstance('FCKeditor1').GetXHTML( true )是否为空。
var content=editor.EditorDocument.body.innerHTML;api GetXHTML() 好像包含 <html><head><title></title></head><body></html> 了