下载了一个163HTML编辑器,用来在网站上添加新闻时插入超链接,在本地测试时一切OK,但在服务器上运行时就不行了,主要特征是,在添加新内容时,在编辑框里输入内容后,点"查看隐藏表单的内容"按钮,没有东西出来,点提交后,能更新数据库,但编辑框里的内容无法插入;在更改已有内容时,编辑框里始终无法显示数据库中已有的内容,相关代码如下:
添加新纪录:
<tr> 
<td width="63">新闻内容:</td>
<td height="300" colspan="2">
<input type="hidden" name="content" id="content" value="<div></div>">
<iframe src="editor/editor.htm?id=content" frameborder="0" scrolling="no" width="700" height="320"></iframe>
<input type="button" value="查看隐藏表单的内容" onClick="alert(content.value);">
</td>
</tr>更改已有纪录:
<tr> 
<td width="63">新闻内容:</td>
<td height="300" colspan="2">
<input type="hidden" name="content" id="content" value="<%= replace(oRs.Fields("content"),chr(34),"'")%>">
<iframe src="editor/editor.htm?id=content" frameborder="0" scrolling="no" width="700" height="320"></iframe>
<input type="button" value="查看隐藏表单的内容" onClick="alert(content.value);">
</td>
</tr>最郁闷的是在本地一点问题都没有啊,为什么到服务器就不行了,检查过,路径应该是没有问题的