fckeditor 提交表单后的值为空
<%@LANGUAGE="VBSCRIPT"CODEPAGE="936"%><!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transiti...
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>网站管理后台管理系统--系统控制面板</title>
<link href="Css/style.css" type="text/css" rel="stylesheet">
<!--#include file="FCKeditor/fckeditor.asp" -->
<script type="text/javascript"src="FCKEDITOR/ckeditor.js"></script>
</head>
<style type="text/css">
<!--
.STYLE1 {
color: #f80403;
font-weight: bold;
}
.style5 {color: #FF6600}
.style8 {color: #FF3300}
-->
</style>
<body>
<form action="companyinfo.asp" method="post" >
<table width="98%" align="center" >
<tr>
<th colspan="2" style="HEIGHT: 21px" >公司简介修改</th>
</tr>
<tr>
<td colspan="2">
<%
Dim oFCKeditor
Set oFCKeditor = New FCKeditor
oFCKeditor.BasePath = "FCKeditor/" '存放的目录路径
oFCKeditor.ToolbarSet = "Default"
oFCKeditor.Width = "100%"
oFCKeditor.Height = "500"
oFCKeditor.Value = "2233"
oFCKeditor.Create "mylog" '表单名称,提交的取这个值
%>
</td>
</tr>
<tr>
<td align="right"><a href="companyinfo.asp?id=ok" style="cursor:hand; color:#FF0000; font-size:12px;text-decoration: none ;">确定并修改 </a></td>
<td width="50%" align="left">
<a href="Main.asp" style="cursor:hand; color:#FF0000; font-size:12px;text-decoration: none ;"> 取消并返回</a></td>
</tr>
</table>
</form>
</body>
</html>
companyinfo.asp如下:
<%
getid=Request.QueryString("id")
Content=Request.Form("mylog")
Response.Write Content
%>
为什么提交表单后值Content为空? 展开
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>网站管理后台管理系统--系统控制面板</title>
<link href="Css/style.css" type="text/css" rel="stylesheet">
<!--#include file="FCKeditor/fckeditor.asp" -->
<script type="text/javascript"src="FCKEDITOR/ckeditor.js"></script>
</head>
<style type="text/css">
<!--
.STYLE1 {
color: #f80403;
font-weight: bold;
}
.style5 {color: #FF6600}
.style8 {color: #FF3300}
-->
</style>
<body>
<form action="companyinfo.asp" method="post" >
<table width="98%" align="center" >
<tr>
<th colspan="2" style="HEIGHT: 21px" >公司简介修改</th>
</tr>
<tr>
<td colspan="2">
<%
Dim oFCKeditor
Set oFCKeditor = New FCKeditor
oFCKeditor.BasePath = "FCKeditor/" '存放的目录路径
oFCKeditor.ToolbarSet = "Default"
oFCKeditor.Width = "100%"
oFCKeditor.Height = "500"
oFCKeditor.Value = "2233"
oFCKeditor.Create "mylog" '表单名称,提交的取这个值
%>
</td>
</tr>
<tr>
<td align="right"><a href="companyinfo.asp?id=ok" style="cursor:hand; color:#FF0000; font-size:12px;text-decoration: none ;">确定并修改 </a></td>
<td width="50%" align="left">
<a href="Main.asp" style="cursor:hand; color:#FF0000; font-size:12px;text-decoration: none ;"> 取消并返回</a></td>
</tr>
</table>
</form>
</body>
</html>
companyinfo.asp如下:
<%
getid=Request.QueryString("id")
Content=Request.Form("mylog")
Response.Write Content
%>
为什么提交表单后值Content为空? 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询