-
11 Apr 2012 12:08 PM #1
How to update application specific variable
How to update application specific variable
Hi,
From http://www.sencha.com/forum/showthre...lobal+variable
I came to know that we can have application specific function which is great and helpful.
But sometimes I have a need to reset it to another value.
How to reset it to a another value ans still make it accessibele to all the methods.
Thanks in advance
-
11 Apr 2012 12:49 PM #2
I think I solved it!!!
Just setting it like
Will solve it.Code:var name = result.items[0].name; MyApp.globals.Name=name;
Am I correct on this?
Is this the right way to do it?
thanks in advance


Reply With Quote