Notice
Recent Posts
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 폼태그
- 깃허브 간단요약
- html
- jquery
- 제이쿼리
- 면접
- Eclipse
- 이클립스
- 설정
- 깃허브
- java
- Oracle
- jstl
- 자바
- Spring
- SESSION
- MySQL
- 스프링
- EL태그
- 버튼
- 마이바티스
- jsp 내부객체
- springboot
- 필터체인
- jsp
- 자바스크립트
- 셋업
- 오라클
- 알고리즘
- 설치
Archives
- Today
- Total
은은하게 코드 뿌시기
ajax 기달리게 하기 async ajax 비동기 본문
728x90
async: false, // 요청이 완료될 때까지 코드 실행이 멈춤
$.ajax({
type: 'post',
url: 'example.com/api',
data: { key: 'value' },
async: false, // 요청이 완료될 때까지 코드 실행이 멈춤
success: function(response) {
console.log('Response received:', response);
},
error: function(xhr, status, error) {
console.error('Request failed:', error);
}
});
728x90
Comments