AJAX实例,get post应用
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
用户评论