Kevin Old
2006-Jun-15 20:39 UTC
Set global var in onComplete and keep persistant? Is this possible?
Hello everyone, I posted yesterday about setting a global variable. I''ve done everything I can think of to keep the global variable set outside of the onComplete. Is this impossible? Surely I''m not the only one who needs this. Thanks for any help, Kevin -- Kevin Old kevinold-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Ryan Gahl
2006-Jun-15 20:43 UTC
Re: Set global var in onComplete and keep persistant? Is this possible?
sure, just set a property on some object that''s visible at the global level (window, for example, or some object you''ve created just for this purpose). On 6/15/06, Kevin Old <kevinold-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hello everyone, > > I posted yesterday about setting a global variable. I''ve done > everything I can think of to keep the global variable set outside of > the onComplete. > > Is this impossible? Surely I''m not the only one who needs this. > > Thanks for any help, > Kevin > -- > Kevin Old > kevinold-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Kevin Old
2006-Jun-16 01:24 UTC
Re: Set global var in onComplete and keep persistant? Is this possible?
Hi Ryan, Here''s the code I''m trying to get working: http://kold.homelinux.com/testselect.html I have comments in there detailing what I''m trying to do. Thanks for any help you can offer, Kevin On 6/15/06, Ryan Gahl <ryan.gahl-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> sure, just set a property on some object that''s visible at the global level > (window, for example, or some object you''ve created just for this purpose). > > > On 6/15/06, Kevin Old <kevinold-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Hello everyone, > > I posted yesterday about setting a global variable. I''ve done > everything I can think of to keep the global variable set outside of > the onComplete. > > Is this impossible? Surely I''m not the only one who needs this. > > Thanks for any help, > Kevin > -- > Kevin Old > kevinold-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > >-- Kevin Old kevinold-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org