主题: asp系统下 kindeditor编辑器能显示数据库输出的值,但是修改后 提交还是老数据
作者: 雾隠, 发布日期: 2013-06-09 17:38:08, 浏览数: 2803
<link rel="stylesheet" href="../kindeditor/themes/default/default.css" />
	<link rel="stylesheet" href="../kindeditor/plugins/code/prettify.css" />
	<script charset="utf-8" src="../kindeditor/kindeditor.js"></script>
	<script charset="utf-8" src="../kindeditor/lang/zh_CN.js"></script>
	<script charset="utf-8" src="../kindeditor/plugins/code/prettify.js"></script>
	<script>
		KindEditor.ready(function(K) {
			var editor1 = K.create('textarea[name="content"]', {
				cssPath : '../kindeditor/plugins/code/prettify.css',
				uploadJson : '../kindeditor/asp/upload_json.asp',
				fileManagerJson : '../kindeditor/asp/file_manager_json.asp',
				allowFileManager : true,
				afterCreate : function() {
					var self = this;
					K.ctrl(document, 13, function() {
						self.sync();
						K('form[name=news]')[0].submit();
					});
					K.ctrl(self.edit.doc, 13, function() {
						self.sync();
						K('form[name=news]')[0].submit();
					});
				}
			});
			prettyPrint();
		});
	</script>
这是调用

 <form method="post" name="news" onSubmit="return CheckModIfy();">
<textarea name="content" style="width:800px;height:400px;visibility:hidden;"><%=rs1("aboutinfo")%></textarea>
提交表单打印 content值 还是老数据,求助
作者: lose_kite, 发布日期: 2013-06-16 01:39:10
回复
发表新帖 发表回复