Jquery How To Make Code Wait While Calling Asynchronous Calls Like

Jquery How To Make Code Wait While Calling Asynchronous Calls Like