Jquery post success variable scope
- by minirobot
Hi,
I'm trying to return the ajax success array from one function to another. For some reason I don't seem to be able to pass the data stored in a variable in the success part of the ajax function into the parent function to return.
Thanks so much for any assistance.
Here's a simplified version of the code:
// make json_to_return global
var…