This question is focused on jQuery, but not necessarily exclusively.
Short question:
Can ajax synchronous call block a regular button when pressed? My testimony shows that this is not happening, but maybe another browser is causing problems.
Long question:
In another question that I asked how to block the ajax call (I want to block it) , the guys said that the browser will block in some cases.
In fact, even docs jQuery says: Note that synchronous requests may temporarily lock the browser, disabling any actions while the request is active.
I'm trying to:
1. Understand how and why this will happen.
2. Rate the likelihood of this.
From my understanding, which may be wrong:
I believe that the “blocking” will occur with the user interface of the page if I, as a developer, did not create / update the user interface before the ajax call itself, which “blocks” the javascript virtual machine, thereby delaying the assembly / updating of the user interface. Right or wrong?
source share