Is there a scenario or use case where it is relevant to make calls with jquery ajax() synchronously? Thanks !!!!
Use the "async:false" property of Ajax method
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Is there a scenario or use case where it is relevant to make calls with jquery ajax() synchronously? Thanks !!!!
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Basem AlshabaniRank #3,323 · 432 reputationPosted Sep 20, 2021, 10:53 PM EDT
Sachin SinghRank #66 · 26.2K reputationPosted Sep 21, 2021, 12:45 AM EDT
async:false= Code paused. (Other code waiting for this to finish.)async:true= Code continued. (Nothing gets paused, No other code is waiting.)