[Proto-Scripty] Re: Passing JS var to ajax.updater parameters

2011-01-31 Thread ColinFine
On Jan 28, 2:29 am, Bilal Inamdar wrote: > I am facing a very stupid issue but stuck there many hours > First, you have written 'encryptSTR' in one place and 'encrytSTR' in another: is that just in transcribing the code, or is it really there? Next, are you sure that the Ajax is returning what

[Proto-Scripty] Re: Two Dimensional Arrays in class

2011-01-31 Thread ColinFine
On Jan 30, 3:14 pm, houpdelta wrote: > Hi, > > I would like to declare a two dimensional array in a class, but I > can't do this. You cannot assign to an array (the second dimension) which doesn't yet exist. You need: erreur: []; ... Execute.erreur[1] = []; Execute.erreur[1][1] = "[obj1, ob

Re: [Proto-Scripty] Re: Two Dimensional Arrays in class

2011-01-31 Thread laurent barre
Thank, for your answer, I choose a another solution (a object). erreur : {}, It's curiously that not declare two dimensional array in prototype. 2011/1/31 ColinFine > > > On Jan 30, 3:14 pm, houpdelta wrote: > > Hi, > > > > I would like to declare a two dimensional array in a class, but I

[Proto-Scripty] find next element in an array?

2011-01-31 Thread Walter Lee Davis
I have an extended array, result of $$('.foo'). Given a single member of that array as an object, how do I find the next element in that array, or the first if the next would wrap? I could swear there used to be an operator that worked over an enumerable and maintained an index element as y