$ 0 0 Try moving what you have in the getDocsWithQuerySuccess function into the completefunc. You're not passing anything to the function. M.