11智能在线
新记
怎么才能得到ajax返回值 运用到其他js方法当中
如题所述
举报该文章
相关建议 2016-11-05
$.ajax({
url:'test.php',
type:'post',
data:{},
success:function(res){
console.log(res);//è¿åå¼res
},
error:function(data,status,errorThrown){
console.log(errorThrown);
}
});
温馨提示:内容为网友见解,仅供参考
当前网址:
https://11.t2y.org/zz/fs2q8qq8v2248mmqvvq.html
其他看法
无其他回答
相似回答
大家正在搜
相关问题
在android中怎样调用本地js文件里的方法并得到返回值
在android中怎样调用本地js文件里的方法并得到返回值
jQuery.ajax方法怎么获得后台方法返回值
JAVA怎样定义一个有返回值一个参数的方法
ajax 调用后台方法,为什么返回值为[object,Obj...
无返回值 和 有返回值 在JAVA编程中 起到什么作用
Flex如何获得java方法的返回值
为什么as中获取不到js方法返回值