1. 首页
  2. 编程语言
  3. Javascript
  4. AJAX实例,get post应用

AJAX实例,get post应用

上传者: 2019-05-28 14:32:45上传 JS文件 1.75KB 热度 40次
functionAjax(url,method,parameter,onSuccess,onError,onLoad){this.xmlHttp=null;this.url=url;this.method=method;this.parameter=parameter;this.success=onSuccess?onSuccess:null;this.error=onError?onError:this.error;this.load=onLoad?onLoad:null;this.reqheader="application/x-www-form-urlencode
用户评论