[Proto-Scripty] Re: Loosing Scope while AJAX-Request

2009-03-30 Thread ferion
Hi, thanks alot! You saved me another day of crawling through strange forum sites. For the one who will land on this thread, dealing with the same problem the soution is: Replace onSuccess: this.parseAnswer(this), { IdontKnowTheScope.parse

[Proto-Scripty] Re: Loosing Scope while AJAX-Request

2009-03-30 Thread T.J. Crowder
Hi, (Your non-native English is pretty good.) This is a common problem with (you'll be glad to know) a fairly simple solution; both covered on a page[1] on the unofficial wiki. [1] http://proto-scripty.wikidot.com/prototype:tip-using-an-instance-method-as-a-callback-or-event-handler HTH, -- T