[Proto-Scripty] Return in Ajax.Request, I don't know how to do it

2012-12-09 Thread Laurent Barre
Hi, I have a function : request:function (object) { var chaine = var param = {; for (var i = 0; i object.param.length; i++) { chaine = chaine + param_ + i + : + object.param[i] + , } chaine = chaine.substr(0, (chaine.length - 1)); chaine =

Re: [Proto-Scripty] Return in Ajax.Request, I don't know how to do it

2012-12-09 Thread Jason Westbrook
Firstly the javascript you have posted seems to be incorrect - the blocks of code have mismatched {} , ie onException: is not part of the options object literal passed to Ajax.Request - but that might have been copy and pasting problems - have you confirmed that the ajax response has the a