>From the looks of it, why don't you use the $.ajax function and do
your stuff on success? Seems like an easier way to structure things.

Sometimes a variable used in a function that you want to use elsewhere
has to be stored somewhere as it won't be recognized globally. Check
http://docs.jquery.com/Core/data#name for more info.

Reply via email to