03.05.2014, 10:46
wrong, only if it's a global var. if he created that in some callback, it cannot be accessed from outside
well, make it global
like this, you can use it anywhere.
But also keep in mind that you should not declare too much global's as it
could lead to mistakes in the future.
like you thinking youre using a local variable while it's a global one. it could get confusing after some time
well, make it global
like this, you can use it anywhere.
But also keep in mind that you should not declare too much global's as it
could lead to mistakes in the future.
like you thinking youre using a local variable while it's a global one. it could get confusing after some time
