HTML编辑器.替换成EWEB编辑器的问题
我的一个文件,原来用的是简单的HTML编辑器.现在想替换成EWEB编辑器.可是,替换后,编辑器里的内容提交进数据库是空的 部分源码如下
<form action= "imenu_edit.asp?sign0=1&im_id= <%=im_id%> &sign= <%=sign%> " id=FORM1 method=post name=FORM1>
<center>
<table border=1 cellpadding=0 cellspacing=0 width= "98% " bordercolor= "#FFFFFF ">
<tr>
<td height= "35 " bordercolor= "#CCCCCC "> 修改该子栏目名称:
<input id=text1 name=im_name value= <%=im_name%> >
<input type=hidden name=user_id value= <%=user_id%> >
</td>
</tr>
<tr>
<tr>
<td height= "30 " bordercolor= "#CCCCCC "> 添入内容 </td>
</tr>
<tr>
<tr>
<td bordercolor= "#CCCCCC ">
<input name=content type=hidden >
<!-- 代码编辑器-->
<input id=Hidden1 name=body type=hidden >
<textarea name= "oldContent " cols= "0 " rows= "0 " style= "display:none "> </textarea>
<script>
strHTML= " ";
if((window.navigator.userAgent.indexOf( "IE 5 ") > 1) || (window.navigator.userAgent.indexOf( "IE 6 ") > 1)) {
document.write( ' <iframe ID= "editor " NAME= "editor " style= "width: 100%; height:255;display:none "> </iframe> ');
document.write( ' <div id= "switchDiv " style= "padding: 0;margin: 0;width: 100% "> <table border= "0 " cellspacing= "0 " cellpadding= "0 " width= "100% " style= "background-color:buttonface "> ');
document.write( ' <tr>