I've got a button with a function defined inside it. Works great. If I move that function elsewhere and then try to call it then it doesn't work at all. Am I doing something wrong or is this a limitation? I'd like to perform the work that this function does from multiple locations so using a function is obviously better than maintaining multiple copies of the same code.
Thanks!
Erik