发布网友 发布时间:2024-10-24 06:25
共3个回答
热心网友 时间:2024-10-26 17:38
用javascript取
热心网友 时间:2024-10-26 17:42
形式如:
var oEditor = FCKeditorAPI.GetInstance('content');
var content = oEditor.GetXHTML(true);
热心网友 时间:2024-10-26 17:36
我想你是粗心了,<FCK:editor id="email.content" width="800" height="300">这句话里加个name属性就OK了。
<s:form namespace="/email" action="sendMailAction!sendEmail.action"
method="post" theme="simple">
<table>
<tr>
<td>
<!-- 设置隐藏的邮件的其他相关信息 -->
<input type="hidden" value="email.nid" name="email.nid">
<input type="hidden" value="email.sendtime" name="email.sendtime">
<input type="hidden" value="email.sender" name="email.sender">
<input type="hidden" value="email.isdel" name="email.isdel">
<input type="button" value="发送">
<input type="button" value="存草稿">
<input type="button" value="关闭">
</td>
</tr>
<tr>
<td>
收件人:
<input type="text" name="email.receiver.email"
id="email.receiver.email">
</td>
</tr>
<tr>
<td>
主题:
<input type="text" name="email.stitle" id="email.stitle">
</td>
</tr>
<tr>
<td id="td">
附件:
<input type="file" name="email.isfile" id="email.isfile">
<input type="button" value="添加更多附件" onclick="addMore()">
</td>
</tr>
<tr>
<td>
邮件内容:
<FCK:editor id="email.content" width="800" name="email.content" height="300">
</FCK:editor>
</td>
</tr>
<tr>
<td>
<a href="<%=path%>/email/sendMailAction!sendEmail.action">send</a>
<input type="button" value="存草稿">
<input type="button" value="关闭">
</td>
</table>
</s:form>