<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值 还是老数据,求助