View Full Version : Accessing variable from one js to another js
12 Aug 2010, 12:45 AM
i am new to Extjs...
can anyone help me how to access a variable from one js file to another js file..?
12 Aug 2010, 12:55 PM
It depends on the scope of the variables. If the variables are within a globally accessible scope, e.g., an object or an instance of a class, then you can reach the variable one way or another. If the variable is within a "closure" or local to a function, then there is a chance it is not publicly accessible.
Powered by vBulletin® Version 4.1.5 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.