ajax await async:false Difference
First of all, I am not good at English, so please understand if my writing is weird.
We found two ways when converting from ajax asynchronous calls to synchronization.
async: false
await
It shows the same result, but I would like to know the difference between these two modes of operation.
function callAjax(url) {
$.ajax({
url: url,
type: "POST",
contentType: "application/json; charset=utf-8",
dataType: "json",
data: JSON.stringify(data),...