如何取到文本编辑器中的值啊?我现在用的是eWebEditor但是当我输入值之后取到的就是空值?还不是null 就是什么都没有<td height="30" colspan="3" style="BORDER-BOTTOM: lightgrey 1px solid">
         <textarea name="info_content" cols="58" rows="6" class="input"   id="info_content" style="display:none "></textarea> 
              <IFRAME ID="eWebEditor1" SRC="admin/edit1/eWebEditor.jsp?id=info_content&style=s_blue" FRAMEBORDER="0" SCROLLING="no" WIDTH="100%" HEIGHT="350">
              </IFRAME>
</td>String info_content=request.getParameter("info_content");
大家看这样对么?

解决方案 »

  1.   

    没有用过你说的东西,如果通过document.getElementById("info_content").value无法取值,那就去查eWebEditor的文档。
      

  2.   

    没用过你说的这个,
    用的FCKeditor。    <tr>
          <td colspan="2"><FCK:editor id="shop_info" basePath="../FCKeditor/" height="440">添加商品简介</FCK:editor>
          </td>
        </tr>然后request.getParameter("shop_info");你那个没用过.官方应该有说明吧
      

  3.   

    不知道是怎么提交的,要是通过Form,那绝对是没有问题的