<iframe id= "Kindeditor1" src= "Kindeditor/asp/demo.asp?id=nr&style=standard" frameborder= "0" SCROLLING= "no" Width= "550" "height=" ></IFRAME> position change <input name= "nr" type= "hidden" id= "nr" value= "<%=request.form ("NR")%> "/>input in front, you first try this, if not, it is your back-end ASP code has a problem. Replace it with the following. <input name= "nr" type= "hidden" id= "nr" value= "<%=request.form (" nr ")%>"/><iframe id= "Kindeditor1" src= "Kindeditor/asp/demo.asp?id=nr&style=standard" frameborder= "0" scrolling= "no" width= "550" HEIGHT= "><" /iframe>
The wrong wording:
<iframe id= "Kindeditor1" src= "Kindeditor/asp/demo.asp?id=nr&style=standard" frameborder= "0" SCROLLING= "no" Width= "550" height= "></iframe"
The correct wording. Write the JS code directly on the Web page
<form name= "MyForm" method= "post" action= "Saveaddproduct.asp?action=add" onsubmit= "return Checkkk ()" ><link Rel= "stylesheet" href= "Kindeditor-4.1/themes/default/default.css"/> ... and so on. Intermediate various Input<link rel= "stylesheet" href= "Kindeditor-4.1/plugins/code/prettify.css"/><script charset= "Utf-8" Src= "Kindeditor-4.1/kindeditor.js" ></script><script charset= "Utf-8" src= "Kindeditor-4.1/lang/zh_ Cn.js "></script><script charset=" Utf-8 "src=" Kindeditor-4.1/plugins/code/prettify.js "></script ><script>kindeditor.ready (function (K) {var editor1 = k.create (' textarea[name= "bookcontent"] ', {csspath: ') Kindeditor-4.1/plugins/code/prettify.css ', Uploadjson: ' kindeditor-4.1/asp/upload_json.asp ', FileManagerJson: ' Kindeditor-4.1/asp/file_manager_json.asp ', allowfilemanager:true,aftercreate:function () {var = this; K.ctrl (document, function () {self.sync (); K (' form[name=myform] ') [0].submit ();}); K.ctrl (Self.edit.doc, +, function () {Self.synC (); K (' form[name=myform] ') [0].submit ();});}); Prettyprint ();}); </script><textarea name= "bookcontent" style= "Width:700px;height:200px;visibility:hidden;" > </textarea><span style= "font-family:arial, Helvetica, Sans-serif;" ></form> note the correspondence between Bookcontent and MyForm </span>
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Embedded Kindeditor online editor problem in ASP website backstage