日期:2014-05-18  浏览次数:20783 次

请问怎样取ewebeditor提交的值
在我的编辑页面引用了ewebeditor.
<textarea   name= "d_content "   style= "display:none "> </textarea>
<iframe   ID= "eWebEditor1 "   src= "eWebEditor/ewebeditor.htm?id=d_content&style=coolblue&originalfilename=d_originalfilename&savefilename=d_savefilename&savepathfilename=d_savepathfilename "   frameborder= "0 "   scrolling= "no "   width= "550 "   HEIGHT= "350 "> </iframe>
提交之后的处理页面:
String   content=new   String(request.getParameter( "d_content ").getBytes( "iso-8859-1 "));
然后测试打印出内容:
  if(content== " "||content.length()==0)
  {
  out.println( "没有内容 ");
  }
  else
  {
  out.println(content);
  }
结果是:没有内容.请问怎么得到提交的值啊!急啊,100分求救,谢谢大家了!

------解决方案--------------------
我有fckedit的,可以实现
你的邮箱多少?发给你
------解决方案--------------------
3p3r@163.com,谢谢
------解决方案--------------------
request.getParameter( "content1 ")
------解决方案--------------------
我有fckedit的,可以实现
你的邮箱多少?发给你

luiguangshui@163.com
发个给我!


------解决方案--------------------
textarea少了一个ID为d_content的标记,webedit通过id来取值!


<textarea name= "d_content " style= "display:none " ID= "d_content "> </textarea>
<iframe ID= "eWebEditor1 " src= "eWebEditor/ewebeditor.htm?id=d_content&style=coolblue&originalfilename=d_originalfilename&savefilename=d_savefilename&savepathfilename=d_savepathfilename " frameborder= "0 " scrolling= "no " width= "550 " HEIGHT= "350 "> </iframe>

------解决方案--------------------
我也遇到了这个问题
"ruanjiantaotao(涛涛) "能不能也发给我一份啊
谢谢了
我邮箱
wonana@163.com