获取网页编辑器内容

AoYuanSE 2009-02-11 03:53:13
在网上找了一个网页编辑器 在页面上运行可以正常使用了
但是从后台获取数据有些问题 用request.getParameter("content")总是获得的是空值 应该怎么改啊?

<form method="POST" action="" name="aaa">

<textarea name="content" style="display:none"></textarea>

<iframe id="Editor" name="Editor"src="HtmlEditor/index.html?ID=content" frameborder="0" marginheight="0"marginwidth="0" scrolling="No"style="height:320px;width:100%"></iframe>
<input type="submit" value="确定" name="button">

</form>

多谢了!
...全文
94 3 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
AoYuanSE 2009-02-11
  • 打赏
  • 举报
回复
嗯 你用的是eWebEditor? 差不多吧 你能给指点指点吗?
herowach 2009-02-11
  • 打赏
  • 举报
回复
这样也行????你textarea 里压根就没东西,当然没数据啦,有东西的是你的iframe 里面的东西...
yanbin1016 2009-02-11
  • 打赏
  • 举报
回复
<textarea style="display:none" name="content" rows="1" id="content"></textarea>
<IFRAME ID="eWebEditor1" src="../eWebEditor.jsp?id=content&style=standard" frameborder="0" scrolling="no" width="100%" height="250"></IFRAME>



不知道用的是不是一个东西

81,122

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧