[Proto-Scripty] Re: Ajax onComplete, but from another function

2008-12-16 Thread George
Hi TJ Many thanks for your response. Actualy I'm not having any problem with execution scope and have managed to grasp a fairly good understanding over the past few weeks. In my constant attempts to re-use code, I'm trying to revisit a method that refreshes a dataset with an ajax call. The prob

[Proto-Scripty] Re: Ajax onComplete, but from another function

2008-12-15 Thread T.J. Crowder
Hi George, If I'm reading that right on a fairly quick skim, it looks like you've already taken a stab at this and gotten very close: > onSuccess : function(transport){ > this.RS = transport.responseText.evalJSON(); > if (a==1) this._drawPage; > });}, The thing is that "this", within