Home  >  Article  >  Backend Development  >  KindEditor asjx加载内容

KindEditor asjx加载内容

WBOY
WBOYOriginal
2016-06-23 14:18:58895browse

HTML Ajax

<script> KindEditor.ready(function(K) {                window.editor = K.create('#body');        });	 function aa() {	 var temp="__URL__/rebody?id="+$("#er").val();	 $("#body").load(temp); }</script><select name="id" onchange="aa()" id="er"><option>asdf</option><option>sdddd</opton></select><textarea id="body" name="body"></textarea>编辑器是可以正常加载出来的,而且那个ajax的url也是对的,但是就是没有返回值,我是搞不明白。返回 object object求解释

回复讨论(解决方案)

返回的什么只有问你自己啊

是html字符串吗?  从你的描述看应该不是..so,检查下url指向的php返回了什么

我的Php是返回的一些html代码,但是用ajax来调用就是object了

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn