表单中的数据除了ckeditor中的内容,其他都能提交,我查了一下,但是按照哪些方法写还是
得不到值.链接如下
我的代码片段如下
<input type="button" title="发信" value="发 信" onclick="checkTo()"/>
editor=CKEDITOR.replace("guide_content",{ height: 270});
for ( instance in CKEDITOR.instances ){
CKEDITOR.instances[instance].updateElement()
}
$.ajax({
type: "POST",
url: "<%=basePath%>user/sendMail!checkName.action",
data: parm,
dataType:"text",
success: function (data, textStatus) {
hiddenProgress();//隐藏进度条
if(data=='true'){
showProgress("正在发送邮件...");//显示保存进度
alert(content+"6666");
$("#sendmail").submit();
}
}
});
}