请问kindeditor编辑器怎么把textarea里的文本存到sql2005的数据库中?

ljx09195117 2010-03-28 11:35:20
请问kindeditor编辑器怎么把textarea里的文本存到sql2005的数据库中?
我试过把textarea改为runat="server"尝试在后台取值,但是这样整个kindeditor编辑器在网页上都没显示了
该怎么做才能把文本放到数据库中呢?
...全文
1343 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
zysliujingjing 2012-08-30
  • 打赏
  • 举报
回复
大家好
你在拿咯?
zysliujingjing 2012-08-30
  • 打赏
  • 举报
回复
简介 们

好的呢
wangxl002 2012-03-21
  • 打赏
  • 举报
回复
不明白
wangxl002 2012-03-21
  • 打赏
  • 举报
回复
好的
ljx09195117 2010-03-28
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 wuyq11 的回复:]
<textarea id="A" name="content" style="width:700px;height:300px;"></textarea>
<input id="B" type="hidden" runat="server" value="" />
<asp:Button ID="Button1" runat="server" Text="保存" OnClientClick="……
[/Quote]
在后台取不了值。。。该怎么做呢
ljx09195117 2010-03-28
  • 打赏
  • 举报
回复
[Quote=引用 3 楼 xingshungames 的回复:]
http://blog.csdn.net/sendling/archive/2007/07/08/1683094.aspx

看看
[/Quote]
不明白。。
ljx09195117 2010-03-28
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 wuyq11 的回复:]
<textarea id="A" name="content" style="width:700px;height:300px;"></textarea>
<input id="B" type="hidden" runat="server" value="" />
<asp:Button ID="Button1" runat="server" Text="保存" OnClientClick="……
[/Quote]
朋友,是不是这样之后在后台取input的值呢??
xingshungames 2010-03-28
  • 打赏
  • 举报
回复
http://blog.csdn.net/sendling/archive/2007/07/08/1683094.aspx

看看
wuyq11 2010-03-28
  • 打赏
  • 举报
回复
<textarea id="A" name="content" style="width:700px;height:300px;"></textarea>
<input id="B" type="hidden" runat="server" value="" />
<asp:Button ID="Button1" runat="server" Text="保存" OnClientClick="save();" OnClick="Button1_Click" CssClass="i_1" />
function save()
{
var s = KE.util.getData("A");
s = KE.util.escape(s);
document.getElementById("B").value = s;
}
wuyq11 2010-03-28
  • 打赏
  • 举报
回复
<textarea id="A" name="content" style="width:700px;height:300px;"></textarea>
<input id="B" type="hidden" runat="server" value="" />
<asp:Button ID="Button1" runat="server" Text="保存" OnClientClick="save();" OnClick="Button1_Click" CssClass="i_1" />
function save()
{
var s = KE.util.getData("A1");
s = KE.util.escape(s);
document.getElementById("B").value = s;
}

62,074

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧