[ 登录注册 ]
2016-05-13 10:24:32 admin 返回上一页
代码:
new Ajax.Request(‘/your_url’),
{
method : ‘get’,
onSuccess : function(transport){
var response = transport.responseText || “no response text”;
alert(“Success!”);
} ,
onFailure : function(){ alert(‘failure’)}
});