答案: var myAjax = new Ajax.Request(url, { method: 'post', postBody: pars, onSuccess: AjaxGetResult, onFailure: function() { alert('error') }
var myAjax = new Ajax.Request(url, { method: 'post', postBody: pars, onSuccess: AjaxGetResult, onFailure: function() { alert('error') }
上一个:ajax有什么用?下一个:C++代码简化问题