[Proto-Scripty] Re: What is function(transport) means ?

2009-06-30 Thread Richard Quadling
2009/6/30 Nakata Kokuyo alvincks...@gmail.com Good day All, I normally found prototype sample like following :- [code] onComplete: function(transport) { console.log('done'); console.log

[Proto-Scripty] Re: What is function(transport) means ?

2009-06-30 Thread david
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: