Hello. I’m a newbie at coding. What is the best way to run 2 functions where the results from both appear in the same modal window? I know that JavaScript is not multithread capable, but is there a jQuery or other workaround? Thanks for any help you can provide.
I think this sounds like a GREAT time for you to learn about promises! If you wrap both your function calls in an async function(){...}
, you can then await
the results.
I would suggest taking a look at the MDN (Mozilla Developer Network) docs about Promises.