主题: 如何提交表单啊 |
作者: java疯, 发布日期: 2008-11-20 15:53:08, 浏览数: 6036 |
<html:form action="New.do" method="post">
<tr> <td>新闻内容</td> <td><input type="hidden" name="contents" value="" > </td> </tr> </html:form> <script type="text/javascript" src="./KindEditor.js"></script> <script type="text/javascript"> var editor = new KindEditor("editor"); editor.hiddenName = "contents"; editor.skinPath = "./skins/default/"; editor.iconPath = "./icons/"; editor.imageAttachPath = "./attached/"; editor.imageUploadCgi = "./upload_cgi/upload.php"; editor.cssPath = "./demo/common.css"; editor.editorWidth = "700px"; editor.editorHeight = "400px"; editor.show(); function KindSubmit() { editor.data(); } 我的标题,日期都是struts标签写的,它们都能提交到数据库里,为什么 <input type="hidden" ......... /> 这个提交不上去啊。 急啊!!!!帮帮忙吧大哥们 |