Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
Tags
- 오류
- php
- MySQL
- explode()
- OOP
- oracle
- Java
- SQL
- 부트캠프후기
- error
- 노션
- JDBC
- strpos()
- Excel
- 객체지향
- JavaScript
- 배열
- 멀티캠퍼스it부트캠프
- react
- myshortcut
- jQuery
- ES6
- 정규식
- DOM
- dao
- 현대이지웰java풀스택개발자아카데미6월
- node.js
- formula
- DTO
- 함수
Archives
- Today
- Total
목록Return (1)
코딩짜는 일상
[javascript, ajax] 함수에서 ajax 결과값이 반환되지 않을 때_async 옵션
서론 변수를 받아 특정 칼럼을 업데이트할 목적으로 function update_column(){ let event = false; $.ajax({ url: "주소", data: {'변수값': 변수값}, type: 'POST', dataType: 'JSON', success: function(res){ if(res){ const code = res['resultCode']; const msg = res['resultMsg']; event = true; } else{ alert("회신내용 없음"); } }, error: function(xhr, textStatus, errorThrown){ alert("jqXHR:"+xhr+"\ntextStatus:"+textStatus+"\nerrorThrown:"+err..
IT/Javascript&Jquery
2023. 10. 19. 13:00
