Ciao a tutti, abituato a programmare in php sono arrivato difronte ad un ostacolo tipo :

function ajaxRequest(url,data, id) {
var aj = new Ajax.Request(
url, {
method:'get',
parameters: data,
onComplete: getResponse
}
);
}

/* ajax.Response */
function getResponse(transport) {
$('result').innerHTML = transport.responseText;
}

se io volessi passare un argomento alla funzione getResponse come posso fare?

e qualcuno di voi sarebbe in grado di spiegarmi il meccanismo dell' argomento predefinito transport?

Grazie