Board Thread:General Coding Help/@comment-9605025-20180428232938/@comment-9605025-20180506233004

So, I have some more questions if you don't mind.
 * 1) From what I can gather from online, JS functions return   if a return value is not specified or there is no return statement. That being the case, wouldn't the function that retrieves the button texts need to include a return statement in order for the values to be passed to the next  ?
 * That being the case, how do asynchronous requests interact with return statements? If they are treated like everything else (variable assignment, printouts, etc.), don't you run the risk of having your function return before you receive the results of your request?
 * 1) Is there a shorter way to run the interface loading and request but then wait for the document to be ready before continuing on? Based on what you provided, it seems like it would have to be done like this
 * Actually, now that I am looking at it, it doesn't seem that bad.