Ajax 썸네일형 리스트형 ajax error code if (jqXHR.status === 0) { alert('Not connect.\n Verify Network.'); } else if (jqXHR.status == 400) { alert('Server understood the request, but request content was invalid. [400]'); } else if (jqXHR.status == 401) { alert('Unauthorized access. [401]'); } else if (jqXHR.status == 403) { alert('Forbidden resource can not be accessed. [403]'); } else if (jqXHR.status == 404) { alert('Requested page .. 더보기 ajax 동기방식 $.ajax({ url: "/url", dataType: 'json', type: 'POST', async: false, data: { cmd: "cmd", arg: "arg" } }); async는 기본이 true 이며, 비동기 방식으로 동작합니다. 동기방식으로 동작은 async: false 를 코딩해야 합니다. 더보기 이전 1 다음