Hi Nakata, when you send an AJAX request, you want to return something from the server. This is what is TRANSPORT:It is the result of the request, it could be JSON, text/HTML, XML ...
Have more detailled in http://prototypejs.org/api/ajax/request and the complete AJAX API: http://prototypejs.org/api/ajax -- david On 30 juin, 10:33, Nakata Kokuyo <alvincks...@gmail.com> wrote: > Good day All, > > I normally found prototype sample like following :- > > [code] > onComplete : function(transport) { > console.log('done'); > console.log > (transport); > } > [/code] > > but i have no idea what is 'Transport' means in function(transport) , > what are the other common parameters used in function ? > > Thank you ! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---