KindEditor asjx加载内容

WBOY
Release: 2016-06-23 14:18:58
Original
894 people have browsed it

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求解释
Copy after login

回复讨论(解决方案)

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

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

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!