Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • 1
    That's a pretty good question! I don't think the answer will be very interesting, but great question nevertheless. Have you tried a synchronous call to see what will happen? Commented Jan 18, 2010 at 18:38
  • 3
    Synchronous calls block the browser which leads to a terrible user experience. Thus my question. I couldn't think of any good reason to use it. Commented Jan 18, 2010 at 18:40
  • 2
    Semi-serious answer: maybe simply to fill the chapter that comes before the asynchronous requests in whatever JavaScript book you are reading. Commented Jan 18, 2010 at 18:53
  • Personally, I'd like to use some syncronous ajax to wrap multiple calls to serverside functions without having to write a request for each call. Commented Jan 18, 2017 at 17:26
  • running code locally, especially for internal dev frameworks and tools. Commented Feb 13, 2020 at 18:48