On Sep 19, 11:34 am, Bill H <dysfunct...@gmail.com> wrote: > I've tried that and still can't seem to get the data into any sort of > usable scope.
The problem is that while you may be understanding scope, you are not understanding asynchronous calls.... the $.getJSON call doesn't "return" anything Whatever you are wanting to do with "shortURL" needs to be done inside, or at least kicked off from inside, the getJSON's success event