C#中,如何获取带有kindeditor的textare中的值?
<script type="text/javascript" charset="utf-8" src="kindeditor/kindeditor-min.js"></script>
<script type="text/javascript" charset="utf-8" src="kindeditor/lang/zh_CN.js"></script>
<link href="kindeditor/plugins/code/prettify.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
KindEditor.ready(function(K) {
K.create('#content1', {
themeType: 'default'
});
K.create('#content2', {
themeType: 'simple'
});
});
</script>
<textarea id="content1" name="content" style="width:700px;height:200px;visibility:hidden;"></textarea>
------解决方案--------------------------------------------------------
楼主,您忘记给textarea加runat="server"了
------解决方案--------------------------------------------------------
你为TextArea控件加上个runat="server"试试
或者直接Request.Form["content1"];