[prototype]向回调函数追加参数怎么不对?
function a(ID){new Ajax.Request("xx.xx", {onComplete:getFunc(ID)});
function getFunc(ID){
return function(){
b.curry(ID);
}
}
}
function b(Data_ID, response){
new Insertion.After(Data_ID, response.responseText)
}
我向回调函数追加参数怎么不对?
我不知道我对curry的理解是否正确。。。
页:
[1]