Relative Content

Tag Archive for javascriptjqueryfunctionasynchronousrecursion

Awaiting a response from DB in recursive function

I’ve got a Javascript class I’ve written that decodes a nested function system, recursively. When assigning the “value” to the object, in the DB function, it has to do a database call by ajax/post request to a PHP page which does the DB call and returns the value, which then gets assigned to the function object.