fckeditor
用标签生成
//初始化fckeditor
window.onload = function()
{
var sBasePath = "fckeditor/";
var oFCKeditor = new FCKeditor( 'cateNews.cateNewsContent' ) ;
oFCKeditor.BasePath = sBasePath ;
oFCKeditor.Heigth='600';
oFCKeditor.ReplaceTextarea() ;
}//context
<textarea name="cateNews.cateNewsContent"></textarea>传递给action的cateNews.cateNewsContent值为空
用标签生成
//初始化fckeditor
window.onload = function()
{
var sBasePath = "fckeditor/";
var oFCKeditor = new FCKeditor( 'cateNews.cateNewsContent' ) ;
oFCKeditor.BasePath = sBasePath ;
oFCKeditor.Heigth='600';
oFCKeditor.ReplaceTextarea() ;
}//context
<textarea name="cateNews.cateNewsContent"></textarea>传递给action的cateNews.cateNewsContent值为空
name不行吧/
这种情况下,直接在action中
private cateNewsContext
页面
<textarea name="cateNewsContent"></textarea>
直接可以获取到代格式的内容
我是用的name传值。FCK自己创建了内建的很多标签。已解决,谢谢