-
Notifications
You must be signed in to change notification settings - Fork 20.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jquery 3.x ajax does not work async = false #3740
Comments
Did you read the issue template? It asked for a test case. With such a short report there's nothing we can do. |
2.2.4: https://jsfiddle.net/5jmprj0x/ The result should be that |
This is not the AJAX call that's asynchronous in your example but the invocation of the handler attached via See https://jquery.com/upgrade-guide/3.0/#callback-invocation for more information, in particular:
|
Would you help with the improvement of this code? |
Synchronous AJAX is generally a bad idea but a quick fix would be to switch from |
Thanks, it works |
Description
I updated jQuery from 2.2.4 to 3.2.1 and it stopped working properly with ajax parameter async = false.
How can I solve this problem?
The text was updated successfully, but these errors were encountered: