How do I stop my code from executing until an asynchronous piece of code has completed? – Jquery
Today I've been struggling to get some JavaScript code working. The goal of this code is to have all of the files names returned by the ajax function calls populated within the fileNameObj before the recordFormSubmission function is called. async…